-
Notifications
You must be signed in to change notification settings - Fork 861
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
Update Dockerfile - reuse NO_PROXY_CACHE env #7203
Conversation
reuse NO_PROXY_CACHE env Signed-off-by: Enrico Del Fante <[email protected]>
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.
LGTM
docker/Dockerfile
Outdated
@@ -6,7 +6,7 @@ ENV NO_PROXY_CACHE="-o Acquire::BrokenProxy=true -o Acquire::http::No-Cache=true | |||
# Update and install dependencies without using any cache | |||
RUN apt-get update $NO_PROXY_CACHE && \ | |||
# $NO_PROXY_CACHE must not be used here or otherwise will trigger a hadolint error |
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.
nit: we can remove the above comment as well.
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.
there was an actual bug in my changes. Fixed and removed a redundant rm -rf
Signed-off-by: Enrico Del Fante <[email protected]>
This reverts commit dfe256e. Signed-off-by: Sally MacFarlane <[email protected]>
This reverts commit dfe256e. Signed-off-by: Sally MacFarlane <[email protected]>
Just noticed this.