-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Dockerfile: some refactoring, and switch to "buster" variant #2234
Conversation
@cyphar @crosbymichael @kolyshkin LGTY? |
Dockerfile
Outdated
&& apt-get clean | ||
&& dpkg --add-architecture ppc64el | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ |
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.
What is the reason for splitting a single RUN statement into two?
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.
The dpkg --add-architecture
does not have to be re-run when we do apt-get update
, and I thought it was slightly cleaner, but let me know if you feel strongly about that
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 like a single RUN
slightly better, but I'm fine either way
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
needs rebase |
@thaJeztah could you please rebase it? @mrunalp can we merge it? It is needed to unblock #2239 which, in turn, is needed to unblock a few PRs that require golang 1.13 |
Yeah, but it needs a rebase now :/ |
14dd443
to
1351fa1
Compare
@kolyshkin @mrunalp @AkihiroSuda sorry for the delay; rebased and combined the two |
CI failure is unrelated and is fixed by #2268 |
can you rebase for the CI fix? |
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Move adding the source code to the end, so that the busybox rootfs doesn't have to be fetched again on each code change. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1351fa1
to
dca34a0
Compare
Rebased 👍 |
1 similar comment
Flaky failure in systemd test seems unrelated. Merging.
|
Debian buster is the current stable, so might be good to switch to that version; also did some refactoring of the dockerfile (see individual commits for details).
I'll open a follow-up PR to update to go 1.13, but thought to first make the switch to "buster" to keep changes smaller.