Layer `ADD source-code` prior to `make bootstrap` layer in Dockerfile (#3767)

This commit is contained in:
Ashish Amarnath 2018-08-30 12:23:08 -07:00 коммит произвёл Jack Francis
Родитель 2baa3b300f
Коммит 8592e491e2
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -27,7 +27,7 @@ RUN git clone https://github.com/akesterson/shunit.git /tmp/shunit \
WORKDIR /gopath/src/github.com/Azure/acs-engine WORKDIR /gopath/src/github.com/Azure/acs-engine
# Cache vendor layer # Cache vendor layer
ADD Makefile test.mk versioning.mk Gopkg.toml Gopkg.lock /gopath/src/github.com/Azure/acs-engine/ ADD . /gopath/src/github.com/Azure/acs-engine/
RUN make bootstrap RUN make bootstrap
# https://github.com/dotnet/core/blob/master/release-notes/download-archives/2.1.2-sdk-download.md # https://github.com/dotnet/core/blob/master/release-notes/download-archives/2.1.2-sdk-download.md
@ -46,4 +46,3 @@ RUN apt-get update \
&& apt-get update \ && apt-get update \
&& apt-get install azure-cli && apt-get install azure-cli
ADD . /gopath/src/github.com/Azure/acs-engine