This commit is contained in:
parent
4bacbaa9b2
commit
8ce3ef0146
2 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,6 @@ RUN apk add -U --no-cache curl jq && \
|
||||||
export KO_VERSION=$(curl https://api.github.com/repos/ko-build/ko/releases | jq -r '. | first |.tag_name | capture("(?<version>[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)") | .version') && \
|
export KO_VERSION=$(curl https://api.github.com/repos/ko-build/ko/releases | jq -r '. | first |.tag_name | capture("(?<version>[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)") | .version') && \
|
||||||
curl -L "https://github.com/ko-build/ko/releases/download/v${KO_VERSION}/ko_${KO_VERSION}_Linux_x86_64.tar.gz" | tar xvz -C /tmp
|
curl -L "https://github.com/ko-build/ko/releases/download/v${KO_VERSION}/ko_${KO_VERSION}_Linux_x86_64.tar.gz" | tar xvz -C /tmp
|
||||||
|
|
||||||
FROM docker.io/golang:1.20-bullseye as final
|
FROM docker.io/golang:1.21-bullseye as final
|
||||||
|
|
||||||
COPY --from=downloader /tmp/ko /usr/local/bin/ko
|
COPY --from=downloader /tmp/ko /usr/local/bin/ko
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM docker.io/golang:1-alpine AS go-tools-builder
|
FROM docker.io/golang:1:21-alpine AS go-tools-builder
|
||||||
|
|
||||||
RUN go install github.com/marwan-at-work/mod/cmd/mod@latest
|
RUN go install github.com/marwan-at-work/mod/cmd/mod@latest
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue