mirror of
https://github.com/AuxXxilium/docker-ddns-server.git
synced 2024-11-23 23:00:59 +07:00
Update Dockerfile
This commit is contained in:
parent
7e1f2075e8
commit
807ba916e6
@ -4,7 +4,7 @@ ENV GO111MODULE=on
|
|||||||
ENV GOPATH=/root/go
|
ENV GOPATH=/root/go
|
||||||
RUN mkdir -p /root/go/src
|
RUN mkdir -p /root/go/src
|
||||||
COPY dyndns /root/go/src/dyndns
|
COPY dyndns /root/go/src/dyndns
|
||||||
RUN cd /root/go/src/dyndns
|
WORKDIR /root/go/src/dyndns
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
RUN go mod verify
|
RUN go mod verify
|
||||||
RUN GOOS=linux go build -o /root/go/bin/dyndns && go test -v
|
RUN GOOS=linux go build -o /root/go/bin/dyndns && go test -v
|
||||||
|
Loading…
Reference in New Issue
Block a user