Skip to content

Commit a7af2ea

Browse files
committed
docker: always use latest version of Go 1.22 and Alpine 3
1 parent 2590241 commit a7af2ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.0-alpine as builder
1+
FROM golang:1.22-alpine as builder
22
RUN apk add --no-cache git make
33
ENV GOOS=linux
44
ENV CGO_ENABLED=0
@@ -11,7 +11,7 @@ RUN make release
1111
RUN go get github.com/rakyll/hey
1212
RUN go install github.com/rakyll/hey
1313

14-
FROM alpine:3.19.1
14+
FROM alpine:3
1515
RUN apk add --no-cache ca-certificates curl vim bind-tools netcat-openbsd nmap socat bash openssl tcpdump tcptraceroute strace iperf busybox-extras
1616
WORKDIR /app
1717
COPY --from=builder /src/bin/testapp /app/testapp

0 commit comments

Comments
 (0)