-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rearrange Order of commands
- Loading branch information
Showing
1 changed file
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
FROM microsoft/dotnet:2.1-runtime-alpine | ||
MAINTAINER robert.erez [email protected] | ||
|
||
#alpine doesnt have curl installed | ||
RUN apk add --no-cache curl | ||
|
||
# Alpine base image does not have ICU libraries available | ||
# https://github.com/dotnet/corefx/blob/master/Documentation/architecture/globalization-invariant-mode.md | ||
RUN apk add --no-cache icu-libs | ||
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT false | ||
ENV LC_ALL en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
RUN apk add --no-cache icu-libs | ||
|
||
#alpine doesnt have curl installed | ||
RUN apk add --no-cache curl | ||
|
||
ARG OCTO_TOOLS_VERSION=4.31.1 | ||
|
||
LABEL maintainer="[email protected]" \ | ||
octopus.dockerfile.version="1.1" \ | ||
octopus.tools.version=$OCTO_TOOLS_VERSION | ||
LABEL maintainer="[email protected]" \ | ||
octopus.dockerfile.version="1.0" \ | ||
octopus.tools.version=$OCTO_TOOLS_VERSION | ||
|
||
|
||
|
||
ENV OCTO_TOOLS_DOWNLOAD_URL https://download.octopusdeploy.com/octopus-tools/$OCTO_TOOLS_VERSION/OctopusTools.$OCTO_TOOLS_VERSION.portable.tar.gz | ||
|
||
|
||
WORKDIR /octo | ||
RUN curl ${OCTO_TOOLS_DOWNLOAD_URL} --output OctopusTools.tar.gz && tar -zxvf OctopusTools.tar.gz | ||
|
||
|