Skip to content

Commit

Permalink
Update alpine and its packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Jan 25, 2025
1 parent 4f12b4c commit f5f6734
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1

# Use the official golang image to build the binary.
FROM golang:1.23-alpine3.20 AS builder
FROM golang:1.23-alpine3.21 AS builder

ARG TARGETOS
ARG TARGETARCH
Expand All @@ -10,12 +10,12 @@ ARG TARGETPLATFORM
WORKDIR /gatewayd
COPY . /gatewayd

RUN apk --no-cache add git=2.45.2-r0 make=4.4.1-r2 openssl=3.3.2-r1 && \
RUN apk --no-cache add git=2.47.2-r0 make=4.4.1-r2 openssl=3.3.2-r4 && \
mkdir -p dist && \
make build-platform GOOS=${TARGETOS} GOARCH=${TARGETARCH} OUTPUT_DIR=dist/${TARGETOS}-${TARGETARCH}

# Use alpine to create a minimal image to run the gatewayd binary.
FROM alpine:3.20 AS runner
FROM alpine:3.21 AS runner

ARG TARGETOS
ARG TARGETARCH
Expand Down

0 comments on commit f5f6734

Please # to comment.