Skip to content

Commit f256a7c

Browse files
committedNov 6, 2024·
build: update Dockerfiles
1 parent c6a8034 commit f256a7c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# build app
2-
FROM golang:1.21.3-alpine3.18 AS app-builder
2+
FROM golang:1.23-alpine3.20 AS app-builder
33

44
ARG VERSION=dev
55
ARG REVISION=dev
@@ -21,7 +21,7 @@ COPY . ./
2121
RUN go build -ldflags "-s -w -X main.version=${VERSION} -X main.commit=${REVISION} -X main.date=${BUILDTIME}" -o bin/shinkro cmd/shinkro/main.go
2222

2323
# build runner
24-
FROM alpine:3.18
24+
FROM alpine:latest
2525

2626
LABEL org.opencontainers.image.source="https://github.com/varoOP/shinkro"
2727

‎ci.Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# build app
2-
FROM --platform=$BUILDPLATFORM golang:1.21.3-alpine3.18 AS app-builder
2+
FROM --platform=$BUILDPLATFORM golang:1.23-alpine3.20 AS app-builder
33

44
RUN apk add --no-cache git tzdata
55

@@ -20,7 +20,7 @@ RUN --mount=target=. \
2020
GOOS="$TARGETOS" GOARCH="$TARGETARCH" go build -ldflags "-s -w -X main.version=${VERSION} -X main.commit=${REVISION} -X main.date=${BUILDTIME}" -o /out/bin/shinkro cmd/shinkro/main.go
2121

2222
# build runner
23-
FROM alpine:3.18
23+
FROM alpine:latest
2424

2525
LABEL org.opencontainers.image.source="https://github.com/varoOP/shinkro"
2626

0 commit comments

Comments
 (0)
Please sign in to comment.