Skip to content

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

Merged
merged 3 commits into from
Jan 19, 2022
Merged

updated Dockerfile #81

merged 3 commits into from
Jan 19, 2022

Conversation

tiagodevweb
Copy link
Contributor

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.

Copy link
Owner

@TrafeX TrafeX left a 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 \
Copy link
Owner

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update repository indexes.

Copy link
Owner

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.

Copy link
Contributor Author

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

@TrafeX
Copy link
Owner

TrafeX commented Dec 29, 2021

Also, if you pull in the master branch the build should succeed.

@TrafeX TrafeX merged commit 8405c55 into TrafeX:master Jan 19, 2022
@TrafeX
Copy link
Owner

TrafeX commented Jan 19, 2022

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants