install unrar from linuxserver repo

remove obsolete port
pull/370/head
aptalca 9 months ago
parent d89236ed2f
commit 9666b13f11
No known key found for this signature in database
GPG Key ID: BE36CFFB9FD85548

@ -1,3 +1,7 @@
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/unrar:latest as unrar
FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
# set version label # set version label
@ -27,7 +31,6 @@ RUN \
apt-get install -y \ apt-get install -y \
jq \ jq \
udev \ udev \
unrar \
wget && \ wget && \
echo "**** install plex ****" && \ echo "**** install plex ****" && \
if [ -z ${PLEX_RELEASE+x} ]; then \ if [ -z ${PLEX_RELEASE+x} ]; then \
@ -51,6 +54,9 @@ RUN \
# add local files # add local files
COPY root/ / COPY root/ /
# add unrar
COPY --from=unrar /usr/bin/unrar-ubuntu /usr/bin/unrar
# ports and volumes # ports and volumes
EXPOSE 32400/tcp 1900/udp 3005/tcp 5353/udp 8324/tcp 32410/udp 32412/udp 32413/udp 32414/udp 32469/tcp EXPOSE 32400/tcp 1900/udp 5353/udp 8324/tcp 32410/udp 32412/udp 32413/udp 32414/udp 32469/tcp
VOLUME /config VOLUME /config

@ -1,3 +1,7 @@
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/unrar:arm64v8-latest as unrar
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-jammy FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-jammy
# set version label # set version label
@ -48,6 +52,9 @@ RUN \
# add local files # add local files
COPY root/ / COPY root/ /
# add unrar
COPY --from=unrar /usr/bin/unrar-ubuntu /usr/bin/unrar
# ports and volumes # ports and volumes
EXPOSE 32400/tcp 1900/udp 3005/tcp 5353/udp 8324/tcp 32410/udp 32412/udp 32413/udp 32414/udp 32469/tcp EXPOSE 32400/tcp 1900/udp 5353/udp 8324/tcp 32410/udp 32412/udp 32413/udp 32414/udp 32469/tcp
VOLUME /config VOLUME /config

@ -294,6 +294,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions ## Versions
* **16.08.23:** - Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar).
* **03.07.23:** - Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf) * **03.07.23:** - Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)
* **16.10.22:** - Rebase to jammy. Update to s6v3. Remove opencl packages (bundled with plex). * **16.10.22:** - Rebase to jammy. Update to s6v3. Remove opencl packages (bundled with plex).
* **18.07.22:** - Pin all opencl related driver packages. * **18.07.22:** - Pin all opencl related driver packages.

@ -40,7 +40,6 @@ optional_parameters: |
``` ```
-p 32400:32400 \ -p 32400:32400 \
-p 1900:1900/udp \ -p 1900:1900/udp \
-p 3005:3005 \
-p 5353:5353/udp \ -p 5353:5353/udp \
-p 8324:8324 \ -p 8324:8324 \
-p 32410:32410/udp \ -p 32410:32410/udp \
@ -96,6 +95,7 @@ app_setup_block: |
We automatically add the necessary environment variable that will utilise all the features available on a GPU on the host. Once nvidia-docker is installed on your host you will need to re/create the docker container with the nvidia container runtime `--runtime=nvidia` and add an environment variable `-e NVIDIA_VISIBLE_DEVICES=all` (can also be set to a specific gpu's UUID, this can be discovered by running `nvidia-smi --query-gpu=gpu_name,gpu_uuid --format=csv` ). NVIDIA automatically mounts the GPU and drivers from your host into the plex docker. We automatically add the necessary environment variable that will utilise all the features available on a GPU on the host. Once nvidia-docker is installed on your host you will need to re/create the docker container with the nvidia container runtime `--runtime=nvidia` and add an environment variable `-e NVIDIA_VISIBLE_DEVICES=all` (can also be set to a specific gpu's UUID, this can be discovered by running `nvidia-smi --query-gpu=gpu_name,gpu_uuid --format=csv` ). NVIDIA automatically mounts the GPU and drivers from your host into the plex docker.
# changelog # changelog
changelogs: changelogs:
- {date: "16.08.23:", desc: "Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar)."}
- {date: "03.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"} - {date: "03.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"}
- {date: "16.10.22:", desc: "Rebase to jammy. Update to s6v3. Remove opencl packages (bundled with plex)."} - {date: "16.10.22:", desc: "Rebase to jammy. Update to s6v3. Remove opencl packages (bundled with plex)."}
- {date: "18.07.22:", desc: "Pin all opencl related driver packages."} - {date: "18.07.22:", desc: "Pin all opencl related driver packages."}

Loading…
Cancel
Save