mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 01:41:02 +00:00
Update base images (#1024)
update alpine base image to current stable and cross-build with golang v1.18
This commit is contained in:
parent
e08e1e1b4b
commit
86cbd63dc2
4 changed files with 5 additions and 4 deletions
|
@ -19,7 +19,7 @@ pipeline:
|
|||
- yarn build
|
||||
|
||||
cross-compile-server:
|
||||
image: techknowlogick/xgo:go-1.17.x
|
||||
image: techknowlogick/xgo:go-1.18.x
|
||||
commands:
|
||||
- apt update
|
||||
- apt install -y tree
|
||||
|
|
|
@ -7,7 +7,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
|
|||
--mount=type=cache,target=/go/pkg \
|
||||
make build-agent
|
||||
|
||||
FROM alpine:3.14
|
||||
FROM alpine:3.16
|
||||
RUN apk add -U --no-cache ca-certificates
|
||||
ENV GODEBUG=netdns=go
|
||||
EXPOSE 3000
|
||||
|
|
|
@ -7,7 +7,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
|
|||
--mount=type=cache,target=/go/pkg \
|
||||
make build-cli
|
||||
|
||||
FROM alpine:3.14
|
||||
FROM alpine:3.16
|
||||
RUN apk add -U --no-cache ca-certificates
|
||||
ENV GODEBUG=netdns=go
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
FROM alpine:3.14
|
||||
FROM alpine:3.16
|
||||
|
||||
ARG TARGETOS TARGETARCH
|
||||
RUN apk add -U --no-cache ca-certificates
|
||||
ENV GODEBUG=netdns=go
|
||||
|
|
Loading…
Reference in a new issue