From 3fdf318724a8c25be86d9ae46d1285dfdcbfcee2 Mon Sep 17 00:00:00 2001 From: Laurent Bouriez Date: Fri, 28 Oct 2022 10:54:42 -0400 Subject: [PATCH] Migrate to alpine --- radarr/Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/radarr/Dockerfile b/radarr/Dockerfile index 3484fea..a259d9d 100644 --- a/radarr/Dockerfile +++ b/radarr/Dockerfile @@ -19,7 +19,7 @@ COPY rootfs / # Base system WORKDIR /usr/src -ARG BUILD_ARCH +ARG BUILD_ARCH=amd64 # Set shell SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -30,13 +30,13 @@ RUN \ set -o pipefail \ \ set -x \ - && apt-get update && apt-get install -y --no-install-recommends \ + && apk update && apk add --no-cache \ bash \ jq \ tzdata \ curl \ ca-certificates \ - \ + \ && mkdir -p /etc/fix-attrs.d \ && mkdir -p /etc/services.d \ \ @@ -54,5 +54,4 @@ RUN \ "https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" \ && chmod a+x /usr/bin/tempio \ \ - && rm -rf /var/lib/apt/lists/* \ - && rm -rf /usr/src/* \ No newline at end of file + && rm -rf /var/cache/apk/* \ No newline at end of file