Dockerfile: some refactoring, and switch to "buster" variant#2234
Dockerfile: some refactoring, and switch to "buster" variant#2234AkihiroSuda merged 5 commits intoopencontainers:masterfrom
Conversation
|
@cyphar @crosbymichael @kolyshkin LGTY? |
| && 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.
What is the reason for splitting a single RUN statement into two?
There was a problem hiding this comment.
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.
I like a single RUN slightly better, but I'm fine either way
|
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.