mirror of
https://gh.con.sh/https://github.com/plexinc/pms-docker
synced 2025-04-26 04:30:28 +00:00
Adding S6 overlay version as an ARG
This commit is contained in:
parent
320457792c
commit
6c983dc00c
@ -2,6 +2,8 @@ FROM ubuntu:16.04
|
||||
|
||||
ENV DEBIAN_FRONTEND="noninteractive" \
|
||||
TERM="xterm"
|
||||
|
||||
ARG S6_OVERLAY_VERSION=v1.17.2.0
|
||||
|
||||
ENTRYPOINT ["/init"]
|
||||
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user