You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
754 B
32 lines
754 B
1 year ago
|
FROM mcr.microsoft.com/dotnet/runtime:8.0-alpine as base
|
||
3 years ago
|
|
||
2 years ago
|
FROM base AS base-arm
|
||
|
ENV RUNTIME=linux-musl-arm
|
||
3 years ago
|
|
||
2 years ago
|
FROM base AS base-arm64
|
||
|
ENV RUNTIME=linux-musl-arm64
|
||
3 years ago
|
|
||
2 years ago
|
FROM base AS base-amd64
|
||
|
ENV RUNTIME=linux-musl-x64
|
||
2 years ago
|
|
||
2 years ago
|
FROM base-$TARGETARCH AS final
|
||
3 years ago
|
|
||
|
# Required by environment and/or dotnet
|
||
2 years ago
|
ENV PATH="${PATH}:/app/recyclarr" \
|
||
|
RECYCLARR_APP_DATA=/config \
|
||
2 years ago
|
CRON_SCHEDULE="@daily" \
|
||
7 months ago
|
RECYCLARR_CREATE_CONFIG=false \
|
||
|
COMPlus_EnableDiagnostics=0
|
||
3 years ago
|
|
||
2 years ago
|
RUN set -ex; \
|
||
2 years ago
|
apk add --no-cache bash tzdata supercronic git tini; \
|
||
2 years ago
|
mkdir -p /config && chown 1000:1000 /config;
|
||
2 years ago
|
|
||
7 months ago
|
COPY ./docker/artifacts/$RUNTIME /app/recyclarr/
|
||
|
COPY --chmod=555 ./docker/scripts/prod/*.sh /
|
||
2 years ago
|
|
||
|
USER 1000:1000
|
||
|
VOLUME /config
|
||
3 years ago
|
|
||
2 years ago
|
ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"]
|