Install tools as part of dockerfile
This commit is contained in:
Родитель
585ae8df8f
Коммит
ef22e20aba
|
@ -2,16 +2,18 @@ FROM microsoft/dotnet:2.0-runtime-deps-jessie
|
|||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
git \
|
||||
# KoreBuild dependencies
|
||||
jq \
|
||||
curl \
|
||||
unzip \
|
||||
apt-transport-https \
|
||||
git \
|
||||
# KoreBuild dependencies
|
||||
jq \
|
||||
curl \
|
||||
unzip \
|
||||
apt-transport-https \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ADD . .
|
||||
|
||||
ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
|
||||
|
||||
RUN ./run.sh install-tools
|
||||
|
||||
ENTRYPOINT ["./build.sh"]
|
||||
|
|
|
@ -15,4 +15,6 @@ ADD . .
|
|||
|
||||
ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
|
||||
|
||||
RUN ./run.ps1 install-tools
|
||||
|
||||
ENTRYPOINT ["build.cmd"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче