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/ && \