Update base images (#1024)

update alpine base image to current stable
and cross-build with golang v1.18
This commit is contained in:
6543 2022-07-17 09:41:32 +02:00 committed by GitHub
parent e08e1e1b4b
commit 86cbd63dc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View file

@ -19,7 +19,7 @@ pipeline:
- yarn build - yarn build
cross-compile-server: cross-compile-server:
image: techknowlogick/xgo:go-1.17.x image: techknowlogick/xgo:go-1.18.x
commands: commands:
- apt update - apt update
- apt install -y tree - apt install -y tree

View file

@ -7,7 +7,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \ --mount=type=cache,target=/go/pkg \
make build-agent make build-agent
FROM alpine:3.14 FROM alpine:3.16
RUN apk add -U --no-cache ca-certificates RUN apk add -U --no-cache ca-certificates
ENV GODEBUG=netdns=go ENV GODEBUG=netdns=go
EXPOSE 3000 EXPOSE 3000

View file

@ -7,7 +7,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \ --mount=type=cache,target=/go/pkg \
make build-cli make build-cli
FROM alpine:3.14 FROM alpine:3.16
RUN apk add -U --no-cache ca-certificates RUN apk add -U --no-cache ca-certificates
ENV GODEBUG=netdns=go ENV GODEBUG=netdns=go

View file

@ -1,4 +1,5 @@
FROM alpine:3.14 FROM alpine:3.16
ARG TARGETOS TARGETARCH ARG TARGETOS TARGETARCH
RUN apk add -U --no-cache ca-certificates RUN apk add -U --no-cache ca-certificates
ENV GODEBUG=netdns=go ENV GODEBUG=netdns=go