Skip to content

Commit

Permalink
Use debian base for builder layer
Browse files Browse the repository at this point in the history
  • Loading branch information
tashian committed Apr 12, 2023
1 parent 931bc50 commit 2550deb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/Dockerfile.debian
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM --platform=$BUILDPLATFORM golang:alpine AS builder
FROM --platform=$BUILDPLATFORM golang AS builder

WORKDIR /src
COPY go.mod go.sum .
RUN go mod download
COPY . .
RUN apk add --no-cache make git curl
RUN apt-get update \
&& apt-get install -y --no-install-recommends make git curl

ARG TARGETOS
ARG TARGETARCH
Expand Down

0 comments on commit 2550deb

Please sign in to comment.