Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Permission and npm issues building and running docker image #13

Open
wezell opened this issue Nov 1, 2019 · 1 comment
Open

Permission and npm issues building and running docker image #13

wezell opened this issue Nov 1, 2019 · 1 comment

Comments

@wezell
Copy link
Contributor

wezell commented Nov 1, 2019

We have 2 issues building and running our current docker image.

  1. Building from src fails because alpine bumped up the node version they install via apk in their 3.9 image which we do not support.
docker build --build-arg BUILD_FROM=COMMIT --build-arg BUILD_ID=origin/master -t dotcms-test .
  1. Once the docker image is created, it fails to run in different environments due to permissions issues on startup. This is reproducible on my local docker install (OS-X / brew) and on Amazon's Linux2 install.
wezell added a commit that referenced this issue Nov 1, 2019
wezell added a commit that referenced this issue Nov 1, 2019
@wezell wezell changed the title Issues building and running current docker image Permission and npm issues building and running docker image Nov 1, 2019
wezell added a commit that referenced this issue Nov 1, 2019
* #13 exclude oracle drivers from scanning, needed to run master without all the supporing oracle jars

* #13 pin node version so we can build

* #13 fix permissions on /srv/home and db lock files
@nollymar
Copy link
Contributor

nollymar commented Nov 1, 2019

I have experienced that issue several times. The only way I found to make it work was changing the alpine version, it failed sporadically and I couldn't find the reason

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants