polis icon indicating copy to clipboard operation
polis copied to clipboard

REFERENCE ONLY: client-report container build fixes

Open brendanarnold opened this issue 3 years ago • 0 comments

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.json rebuilt using a more appropriate version of NPM resulting a lockfileVersion: 1
  • COPY order in the Dockerfile now changed so config files are present when the postinstall hook fires
  • Build tools necessary for npm install to happen are installed
  • Fix for older versions of Alpine Linux < 12.4.0 where uids were not matching

brendanarnold avatar Jun 16 '22 14:06 brendanarnold