whatwg/html-build

Docker build fails with: not a git repository: '/whatwg/html/.git/'

Closed this issue · 3 comments

./build.sh fails within the docker instance:

Step 10/11 : RUN SKIP_BUILD_UPDATE_CHECK=true ./build.sh $verbose_or_quiet_flag $no_update_flag && rm -rf /var/www/html && mv output /var/www/html && chmod -R o+rX /var/www/html && cp site.conf /etc/nginx/sites-enabled/
---> Running in 23d09a7a7afa
Looking for the HTML source (set HTML_SOURCE to override)...
Found /whatwg/html (from HTML_SOURCE)...

fatal: not a git repository: '/whatwg/html/.git/'
The command '/bin/sh -c SKIP_BUILD_UPDATE_CHECK=true ./build.sh $verbose_or_quiet_flag $no_update_flag && rm -rf /var/www/html && mv output /var/www/html && chmod -R o+rX /var/www/html && cp site.conf /etc/nginx/sites-enabled/' returned a non-zero code: 128

Did you use ./build.sh --docker, or did you get Docker with just ./build.sh? Where have you put the html and html-build repos on your filesystem?

./build.sh --docker

html-build repo is in a descendant of my home directory.
html repo is directly within html-build.

I think we broke this with some recent changes; I remember running into it and foolishly working around it locally instead of fixing it. I'll try to get it fixed today.