mirror of
https://github.com/linuxserver/docker-jackett.git
synced 2026-05-04 00:01:00 +08:00
Bot Updating Templated Files
This commit is contained in:
parent
3c80294129
commit
db59c77556
@ -1,45 +0,0 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.17
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
ARG JACKETT_RELEASE
|
||||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
||||
LABEL maintainer="thelamer"
|
||||
|
||||
# environment settings
|
||||
ENV XDG_DATA_HOME="/config" \
|
||||
XDG_CONFIG_HOME="/config"
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apk --no-cache add \
|
||||
icu-data-full \
|
||||
icu-libs && \
|
||||
echo "**** install jackett ****" && \
|
||||
mkdir -p \
|
||||
/app/Jackett && \
|
||||
if [ -z ${JACKETT_RELEASE+x} ]; then \
|
||||
JACKETT_RELEASE=$(curl -sX GET "https://api.github.com/repos/Jackett/Jackett/releases" \
|
||||
| jq -r '.[0] | .tag_name'); \
|
||||
fi && \
|
||||
curl -o \
|
||||
/tmp/jacket.tar.gz -L \
|
||||
"https://github.com/Jackett/Jackett/releases/download/${JACKETT_RELEASE}/Jackett.Binaries.LinuxMuslARM32.tar.gz" && \
|
||||
tar xf \
|
||||
/tmp/jacket.tar.gz -C \
|
||||
/app/Jackett --strip-components=1 && \
|
||||
echo "**** fix for host id mapping error ****" && \
|
||||
chown -R root:root /app/Jackett && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
||||
# add local files
|
||||
COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
VOLUME /config
|
||||
EXPOSE 9117
|
||||
Loading…
x
Reference in New Issue
Block a user