Uh oh!
There was an error while loading. Please reload this page.
update go to 1.17 - #3383
Conversation
| FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx | ||
| FROM go-${TARGETOS} AS build-base-alpine | ||
| FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-${BASE_VARIANT} AS build-base-alpine | ||
| COPY --from=xx / / | ||
| RUN apk add --no-cache bash clang lld llvm file git | ||
| WORKDIR /go/src/github.com/docker/cli |
There was a problem hiding this comment.
I was looking at these stages, and it appears we're not using the alpine stages anywhere? (perhaps I overlooked though 🤔)
thaJeztah
commented
Dec 8, 2021
Looks like this is failing; |
Codecov Report
@@ Coverage Diff @@## master #3383 +/- ##
==========================================
- Coverage 59.01% 59.00% -0.01%
==========================================
Files 284 282 -2 Lines 23833 23830 -3 ==========================================
- Hits 14066 14062 -4
Misses 8908 8908 - Partials 859 860 +1 |
thaJeztah
commented
Dec 9, 2021
okay; this looks ✅ now @crazy-max@silvin-lubecki PTAL (please double check if I didn't miss something in the Dockerfile changes) |
@thaJeztah Needs to fix buster target too otherwise: $ make -f docker.Makefile dynbinary...#5 [internal] load metadata for docker.io/library/go-linux:latest#5 ERROR: pull access denied, repository does not exist or may require authorization: authorization status: 401: authorization failed------ > [internal] load metadata for docker.io/library/go-linux:latest:------Dockerfile:21-------------------- 19 | RUN xx-apk add --no-cache musl-dev gcc 20 | 21 | >>> FROM go-${TARGETOS} AS build-base-buster 22 | COPY --from=xx / / 23 | RUN apt-get update && apt-get install --no-install-recommends -y bash clang lld fileReplace Line 32 in 548fd20 With FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-${BASE_VARIANT} AS build-base-busterWe should add a step in the build matrix to cover that. Can be done in follow-up. Edit: PR opened #3384 |
thaJeztah
commented
Dec 9, 2021
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-${BASE_VARIANT} AS build-base-busterActually looking now if we need to use Also; guess we should be updating to |
crazy-max
commented
Dec 9, 2021
@thaJeztah |
thaJeztah
commented
Dec 9, 2021
🤦 thought I could just a quick find/replace. Of course I could expect that 😅 |
thaJeztah
commented
Dec 9, 2021
Hmmm... this looks like something we need to fix; are we missing the |
thaJeztah
commented
Dec 9, 2021
Actual failure is in this bit though; |
thaJeztah
commented
Mar 25, 2022
Looks like my last commit fixed the osusergo issue, but this one is still remaining; |
Removes the platform based switch between different versions. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
thaJeztah
commented
Mar 26, 2022
I removed the update to debian bullseye from this PR, and the other fixes ( After this is merged, I'll also look at using |
thaJeztah
commented
Mar 26, 2022
Let's get this one in; I'll open a PR for the debian update, and will have a look at updating |
thaJeztah
commented
Mar 26, 2022
opened #3493 for the debian step |
carries / closes#3258
Removes the platform based switch between different versions.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)