From 847916000c1cb2f562f59ba8feb2cb095b90b337 Mon Sep 17 00:00:00 2001 From: Roxedus Date: Tue, 6 Aug 2024 08:50:16 +0200 Subject: [PATCH] Build now-optional conf --- Dockerfile | 5 +++-- Dockerfile.aarch64 | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1c69b85..ad3847b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ # syntax=docker/dockerfile:1 -FROM ghcr.io/linuxserver/unrar:latest as unrar +FROM ghcr.io/linuxserver/unrar:latest AS unrar -FROM ghcr.io/linuxserver/baseimage-alpine:3.20 as buildstage +FROM ghcr.io/linuxserver/baseimage-alpine:3.20 AS buildstage # set NZBGET version ARG NZBGET_RELEASE @@ -31,6 +31,7 @@ RUN \ cd build && \ cmake .. -DCMAKE_INSTALL_PREFIX=/app/nzbget && \ cmake --build . -j 2 && \ + cmake --build . --target install-conf && \ cmake --install . && \ mv /app/nzbget/bin/nzbget /app/nzbget/ && \ rm -rf /app/nzbget/bin/ && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 89e8acd..9ccee03 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -1,8 +1,8 @@ # syntax=docker/dockerfile:1 -FROM ghcr.io/linuxserver/unrar:arm64v8-latest as unrar +FROM ghcr.io/linuxserver/unrar:arm64v8-latest AS unrar -FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20 as buildstage +FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20 AS buildstage # set NZBGET version ARG NZBGET_RELEASE @@ -31,6 +31,7 @@ RUN \ cd build && \ cmake .. -DCMAKE_INSTALL_PREFIX=/app/nzbget && \ cmake --build . -j 2 && \ + cmake --build . --target install-conf && \ cmake --install . && \ mv /app/nzbget/bin/nzbget /app/nzbget/ && \ rm -rf /app/nzbget/bin/ && \