polis
polis copied to clipboard
REFERENCE ONLY: client-report container build fixes
REFERENCE ONLY, NOT FOR MERGING
These are some changes so that client-report will now build using the following commands
cd client-report
docker build --build-arg GIT_HASH=`git rev-parse --short HEAD` .
I've not tested if the build output actually works but it does generate reasonable looking output.
Key changes
package-lock.jsonrebuilt using a more appropriate version of NPM resulting alockfileVersion: 1COPYorder in theDockerfilenow changed so config files are present when the postinstall hook fires- Build tools necessary for
npm installto happen are installed - Fix for older versions of Alpine Linux < 12.4.0 where
uids were not matching