Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Rearrange Order of commands
  • Loading branch information
zentron authored May 15, 2018
1 parent 62dd9d8 commit 3e98155
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions Dockerfiles/alpine/Dockerfile
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

Expand Down

0 comments on commit 3e98155

Please sign in to comment.