Merge pull request #47 from rwv/master

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

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

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