Skip to content

Commit

Permalink
Adding S6 overlay version as an ARG
Browse files Browse the repository at this point in the history
  • Loading branch information
KalleDK authored and gbooker committed Dec 23, 2016
1 parent 3204577 commit 6c983dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM ubuntu:16.04

ENV DEBIAN_FRONTEND="noninteractive" \
TERM="xterm"

ARG S6_OVERLAY_VERSION=v1.17.2.0

ENTRYPOINT ["/init"]

Expand All @@ -16,7 +18,7 @@ RUN \
&& \

# Fetch and extract S6 overlay
curl -J -L -o /tmp/s6-overlay-amd64.tar.gz https://github.com/just-containers/s6-overlay/releases/download/v1.17.2.0/s6-overlay-amd64.tar.gz && \
curl -J -L -o /tmp/s6-overlay-amd64.tar.gz https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-amd64.tar.gz && \
tar xzf /tmp/s6-overlay-amd64.tar.gz -C / && \

# Add user
Expand Down

0 comments on commit 6c983dc

Please sign in to comment.