Skip to content

Commit

Permalink
Merge pull request #167 from linuxserver/testing-build-conf
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad authored Aug 2, 2024
2 parents 8104f59 + 551365e commit ffc920d
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 ffc920d

Please sign in to comment.