Update Dockerfile

remove arch flag
This commit is contained in:
Malte Grosse 2022-04-04 23:00:08 +02:00 committed by GitHub
parent 3b406d1057
commit ea96f504c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ ENV GO111MODULE=on
ENV GOPATH=/root/go
RUN mkdir -p /root/go/src
COPY dyndns /root/go/src/dyndns
RUN cd /root/go/src/dyndns && go mod download && GOOS=linux GOARCH=amd64 go build -o /root/go/bin/dyndns && go test -v
RUN cd /root/go/src/dyndns && go mod download && GOOS=linux go build -o /root/go/bin/dyndns && go test -v
FROM debian:buster-slim