This allows the standard commands to be used with
docker by simply replacing bundle exec with
docker-compose run --rm. The jekyll test server
can be started with docker-compose up jekyll.
To avoid rights issues with root-generated files
from docker, this also sets the user to 1000,
which is usually the standard user. This has to
be changed if run as another user. Correct values
can be determined with id -u and id -g.
This allows the standard commands to be used with docker by simply replacing
bundle exec
withdocker-compose run --rm
. The jekyll test server can be started withdocker-compose up jekyll
.To avoid rights issues with root-generated files from docker, this also sets the user to 1000, which is usually the standard user. This has to be changed if run as another user. Correct values can be determined with
id -u
andid -g
.