mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-10 17:12:33 +08:00
Dockerfiles: specify origin registry explicitly
This commit is contained in:
parent
8f632e9062
commit
ed39b91f71
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue