When running the jekyll/jekyll:3.4.3 and specifying JEKYLL_UID that is not 0 or 1000 the jekyll command fails. The root cause seems to be due to mirror.envygeeks.io being down.
The sequence is:
-
docker run --rm -ti -e JEKYLL_UID=
id -u-v $PWD:/srv/jekyll jekyll/jekyll:3.4.3 jekyll clean
- Due to $JEKYLL_UID not being 0 or 1000 (from
$(id -u jekyll)
), the script callsreset-user jekyll:"$JEKYLL_UID"
- In the reset-user script the following call is done
apk --update add shadow@community || apk --update add shadow@communityEdge
, which fails when it attempts to hit mirror.envygeeks.io which is listed in `/etc/apk/repositories