Skip to content

Added Dockerfile for building & running the site using Docker#372

Merged
DavidMGross merged 3 commits intoReactiveX:developfrom
r3h0:develop
Jun 7, 2018
Merged

Added Dockerfile for building & running the site using Docker#372
DavidMGross merged 3 commits intoReactiveX:developfrom
r3h0:develop

Conversation

@r3h0
Copy link
Contributor

@r3h0 r3h0 commented Jun 7, 2018

When I started on the reactivex.github.io project yesterday, I didn't have most of the requisite tools. By using a Docker image, I think new contributors will be able to start contributing faster (assuming they have Docker). This provides a certain degree of reproducibility as well, especially if we make the Dockerfile more restrictive to the versions of each required dependency.

If desired, I can add a docker-compose file or bash script to make the build & run command less verbose.

r3h0 added 3 commits June 7, 2018 16:49
This allows contributors to get going right away (assuming they have Docker) and also provides a certain measure of reproducibility.
This passes in no build context and instead mounts the current folder as a volume so jekyll's --watch mode works like normal.
I decided that for future maintainability it might be best to leave the version off of the base image. If we end up using Docker a lot more, we can be more explicit about which versions we're using.
@DavidMGross DavidMGross merged commit 8e0ffc2 into ReactiveX:develop Jun 7, 2018
@DavidMGross
Copy link
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants