-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add USER statement to Docker image #37
Conversation
kennyko
commented
Mar 27, 2019
- Refactor Dockerfile
- Remove k8s templates in favor of helm charts
* Refactor Dockerfile * Remove k8s templates in favor of helm charts
apt-get clean && \ | ||
gem install bundler && \ | ||
rm -f /etc/ImageMagick-6/policy.xml && \ | ||
chown 10001:10001 /app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI failed for postgres permissions
Starting [secure]_postgres_1 ...
Errno::EACCES: Permission denied @ rb_sysopen - /app/log/ci_test.log
RUN apt-get install -y build-essential checkinstall libx11-dev libxext-dev zlib1g-dev libpng-dev libjpeg-dev libfreetype6-dev libxml2-dev nodejs | ||
|
||
RUN apt-get install -y imagemagick libmagick++-dev libmagic-dev libmagickwand-dev vim libpq-dev && apt-get clean | ||
ARG RAILS_MASTER_KEY="" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why add the default string?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Allows building the docker image without requiring the master key to be passed. It's not used anywhere during build time anyways.