Dockerfiles: specify origin registry explicitly

This commit is contained in:
Csaba Sarkadi 2022-01-15 16:04:00 +01:00
parent 8f632e9062
commit ed39b91f71
3 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
# Builder image
FROM golang:1.17.1-bullseye AS build
FROM docker.io/golang:1.17.1-bullseye AS build
ENV GOPATH /go
WORKDIR /go/src/headscale

View file

@ -1,5 +1,5 @@
# Builder image
FROM golang:1.17.1-alpine AS build
FROM docker.io/golang:1.17.1-alpine AS build
ENV GOPATH /go
WORKDIR /go/src/headscale
@ -13,7 +13,7 @@ RUN go install -a -ldflags="-extldflags=-static" -tags netgo,sqlite_omit_load_ex
RUN test -e /go/bin/headscale
# Production image
FROM alpine:latest
FROM docker.io/alpine:latest
COPY --from=build /go/bin/headscale /bin/headscale
ENV TZ UTC

View file

@ -1,5 +1,5 @@
# Builder image
FROM golang:1.17.1-bullseye AS build
FROM docker.io/golang:1.17.1-bullseye AS build
ENV GOPATH /go
WORKDIR /go/src/headscale