mirror of
https://gh.con.sh/https://github.com/plexinc/pms-docker
synced 2024-09-20 06:45:31 +00:00
Updated ARM containers to use Focal
This commit is contained in:
parent
69b8aec45a
commit
15d3987c5a
|
@ -1,4 +1,4 @@
|
|||
FROM ubuntu:16.04
|
||||
FROM ubuntu:20.04
|
||||
|
||||
ARG S6_OVERLAY_VERSION=v1.22.1.0
|
||||
ARG S6_OVERLAY_ARCH=aarch64
|
||||
|
@ -19,22 +19,23 @@ RUN \
|
|||
uuid-runtime \
|
||||
unrar \
|
||||
&& \
|
||||
|
||||
\
|
||||
# Fetch and extract S6 overlay
|
||||
curl -J -L -o /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz && \
|
||||
tar xzf /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz -C / && \
|
||||
|
||||
tar xzf /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz -C / --exclude='./bin' && \
|
||||
tar xzf /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz -C /usr ./bin && \
|
||||
\
|
||||
# Add user
|
||||
useradd -U -d /config -s /bin/false plex && \
|
||||
usermod -G users plex && \
|
||||
|
||||
\
|
||||
# Setup directories
|
||||
mkdir -p \
|
||||
/config \
|
||||
/transcode \
|
||||
/data \
|
||||
&& \
|
||||
|
||||
\
|
||||
# Cleanup
|
||||
apt-get -y autoremove && \
|
||||
apt-get -y clean && \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM ubuntu:16.04
|
||||
FROM ubuntu:20.04
|
||||
|
||||
ARG S6_OVERLAY_VERSION=v1.22.1.0
|
||||
ARG S6_OVERLAY_ARCH=armhf
|
||||
|
@ -19,22 +19,23 @@ RUN \
|
|||
uuid-runtime \
|
||||
unrar \
|
||||
&& \
|
||||
|
||||
\
|
||||
# Fetch and extract S6 overlay
|
||||
curl -J -L -o /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz && \
|
||||
tar xzf /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz -C / && \
|
||||
|
||||
tar xzf /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz -C / --exclude='./bin' && \
|
||||
tar xzf /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz -C /usr ./bin && \
|
||||
\
|
||||
# Add user
|
||||
useradd -U -d /config -s /bin/false plex && \
|
||||
usermod -G users plex && \
|
||||
|
||||
\
|
||||
# Setup directories
|
||||
mkdir -p \
|
||||
/config \
|
||||
/transcode \
|
||||
/data \
|
||||
&& \
|
||||
|
||||
\
|
||||
# Cleanup
|
||||
apt-get -y autoremove && \
|
||||
apt-get -y clean && \
|
||||
|
|
Loading…
Reference in New Issue
Block a user