Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial addition of the docker-github-pages dockerfile. #41

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions docker-github-pages/Dockerfile
@@ -0,0 +1,11 @@
FROM starefossen/github-pages:onbuild

RUN apk --update add --virtual build_deps \
build-base ruby-dev libc-dev linux-headers \
&& gem update \
&& apk del build_deps \
&& rm -rf /usr/lib/ruby/gems/*/cache/*.gem

WORKDIR /usr/src/app

CMD bundle exec jekyll serve -d /_site --watch --force_polling -H 0.0.0.0 -P 4000
5 changes: 5 additions & 0 deletions docker-github-pages/README.md
@@ -0,0 +1,5 @@
# A variation on Starefossen/docker-github-pages image

This is used for local development for github hosted pages which may have issues when using the standard [Starefossen/docker-github-pages](https://github.com/Starefossen/docker-github-pages) repo.

This version is currently working for the [Capgemini Engineering Blog](https://capgemini.github.io/).