-
Notifications
You must be signed in to change notification settings - Fork 760
updated Dockerfile #81
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
Conversation
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.
Thank you for your contribution. I added some questions on why you're making a few changes.
Dockerfile
Outdated
|
||
# Install packages and remove default server definition | ||
RUN apk --no-cache add \ | ||
RUN apk add --no-cache --update \ |
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 are you adding the --update
flag?
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.
Update repository indexes.
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.
I think this is not needed since --no-cache
already ignores the local cache if there was any.
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.
You're right, i already removed it
Also, if you pull in the master branch the build should succeed. |
Thank you! |
Congratulations for the repository, I made some small changes to reduce the size of the image, highlight the supervision in go-lang, I noticed other improvements but if I accepted this contribution I'll send it as much as possible.