Merge pull request #47 from rwv/master

slightly optimize the order of instructions in Dockerfile
This commit is contained in:
Star Brilliant authored and GitHub committed 2019-05-20 13:02:13 +08:00
commit 6d8efe0939
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -1,8 +1,9 @@
FROM golang:alpine AS build-env
RUN apk add --no-cache git make
WORKDIR /src
ADD . /src
RUN apk add --no-cache git make
RUN make doh-client/doh-client
FROM alpine:latest
+2 -1
View File
@@ -1,8 +1,9 @@
FROM golang:alpine AS build-env
RUN apk add --no-cache git make
WORKDIR /src
ADD . /src
RUN apk add --no-cache git make
RUN make doh-server/doh-server
FROM alpine:latest