apache / privacy-website

Web site for Apache Data Privacy
7 stars 14 forks source link

Website development instructions don't work #34

Open raboof opened 8 months ago

raboof commented 8 months ago

Following the README, I get bundle errors like this:

$ docker run --rm -p 4000:4000 --mount type=bind,src=$PWD,dst=/root/build --mount type=volume,dst=/root/build/node_modules -it apache/privacy_apache_org serve --watch --incremental
Could not find concurrent-ruby-1.1.10 in any of the sources
Run `bundle install` to install missing gems.

Indeed it seems it has slightly different versions of those dependencies installed. How do I deal with that?

grobmeier commented 7 months ago

Hi @raboof I just made the whole docker thing with a fresh install on Linux and it worked as expected. Have you been able to create the docker image successfully? Were there any issues while building it? I mean this command: docker build -t apache/privacy_apache_org .

raboof commented 6 months ago

docker build -t apache/privacy_apache_org . indeed succeeds without error, but when I then want to run it with docker run --rm -p 4000:4000 --mount type=bind,src=$PWD,dst=/root/build --mount type=volume,dst=/root/build/node_modules -it apache/privacy_apache_org serve --watch --incremental it gives me the error above.

raboof commented 6 months ago

When I first remove old cached layers with: docker rmi apache/privacy_apache_org; docker builder prune, the error is slightly different:

$ docker run --rm -p 4000:4000 --mount type=bind,src=$PWD,dst=/root/build --mount type=volume,dst=/root/build/node_modules -it apache/privacy_apache_org serve --watch --incremental
Could not find public_suffix-5.0.4 in any of the sources
Run `bundle install` to install missing gems.