Skip to content

Commit

Permalink
Merge pull request #168 from linuxserver/master-config
Browse files Browse the repository at this point in the history
Build now-optional conf
  • Loading branch information
Roxedus committed Aug 6, 2024
2 parents 637fc5b + 8479160 commit 34566c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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/ && \
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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/ && \
Expand Down

0 comments on commit 34566c2

Please sign in to comment.