Skip to content

Commit

Permalink
Migrate from Ubuntu to Debian (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Jan 6, 2024
1 parent ed5bcdc commit 37997a9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions plex/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILD_FROM=ghcr.io/hassio-addons/ubuntu-base:9.0.1
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base:7.3.1
# hadolint ignore=DL3006
FROM ${BUILD_FROM}

Expand All @@ -8,12 +8,14 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Setup base system
ARG BUILD_ARCH=amd64
RUN \
apt-get update \
echo "deb http://deb.debian.org/debian bookworm contrib non-free" \
>> /etc/apt/sources.list \
&& apt-get update \
\
&& apt-get install -y --no-install-recommends \
xmlstarlet=1.6.1-2.1 \
uuid-runtime=2.37.2-4ubuntu3 \
unrar=1:6.1.5-1 \
xmlstarlet=1.6.1-3 \
uuid-runtime=2.38.1-5+b1 \
unrar=1:6.2.6-1+deb12u1 \
\
&& if [ "${BUILD_ARCH}" = "aarch64" ]; then ARCH="arm64"; fi \
&& if [ "${BUILD_ARCH}" = "amd64" ]; then ARCH="amd64"; fi \
Expand Down
6 changes: 3 additions & 3 deletions plex/build.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
build_from:
aarch64: ghcr.io/hassio-addons/ubuntu-base:9.0.1
amd64: ghcr.io/hassio-addons/ubuntu-base:9.0.1
armv7: ghcr.io/hassio-addons/ubuntu-base:9.0.1
aarch64: ghcr.io/hassio-addons/debian-base:7.3.1
amd64: ghcr.io/hassio-addons/debian-base:7.3.1
armv7: ghcr.io/hassio-addons/debian-base:7.3.1
codenotary:
base_image: codenotary@frenck.dev
signer: codenotary@frenck.dev

0 comments on commit 37997a9

Please sign in to comment.