docker: platform=linux/amd64

Past releases were all for amd64.  Other archs are implicitly
unsupported at this time.
This commit is contained in:
Saj Goonatilleke 2022-05-27 18:16:41 +10:00
parent f78b3b04fc
commit 4621c64c2f
1 changed files with 2 additions and 2 deletions

View File

@ -9,10 +9,10 @@ RUN go mod download
COPY internal ./internal/
COPY *.go ./
RUN CGO_ENABLED=0 go build .
RUN CGO_ENABLED=0 GOARCH=amd64 go build .
FROM debian:bullseye-slim
FROM --platform=linux/amd64 debian:bullseye-slim
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade \