mirror of
https://github.com/hotio/jackett.git
synced 2026-02-20 07:29:23 +08:00
17 lines
522 B
Docker
17 lines
522 B
Docker
ARG UPSTREAM_IMAGE
|
|
ARG UPSTREAM_TAG_SHA
|
|
|
|
FROM ${UPSTREAM_IMAGE}:${UPSTREAM_TAG_SHA}
|
|
EXPOSE 9117
|
|
ARG IMAGE_STATS
|
|
ENV IMAGE_STATS=${IMAGE_STATS} WEBUI_PORTS="9117/tcp"
|
|
|
|
RUN apk add --no-cache icu-libs icu-data-full
|
|
|
|
ARG VERSION
|
|
RUN curl -fsSL "https://github.com/Jackett/Jackett/releases/download/v${VERSION}/Jackett.Binaries.LinuxMuslARM64.tar.gz" | tar xzf - -C "${APP_DIR}" --strip-components=1 && \
|
|
chmod -R u=rwX,go=rX "${APP_DIR}"
|
|
|
|
COPY root/ /
|
|
RUN find /etc/s6-overlay/s6-rc.d -name "run*" -execdir chmod +x {} +
|