préparation pour l'arm64
continuous-integration/drone/push Build is passing Details

main
Draconis 2022-10-10 11:51:49 +02:00
parent a95d9d1625
commit d1c6baf62c
1 changed files with 17 additions and 0 deletions

17
Dockerfile.arm34 Normal file
View File

@ -0,0 +1,17 @@
FROM git.draconis.me/draconis/base
EXPOSE 9696
VOLUME ["${CONFIG_DIR}"]
RUN apk add --no-cache libintl sqlite-libs icu-libs
ARG VERSION
ARG SBRANCH
ARG PACKAGE_VERSION=${VERSION}
RUN mkdir "${APP_DIR}/bin" && \
curl -fsSL "https://prowlarr.servarr.com/v1/update/develop/updatefile?os=linuxmusl&runtime=netcore&arch=arm64" | tar xzf - -C "${APP_DIR}/bin" --strip-components=1 && \
rm -rf "${APP_DIR}/bin/Prowlarr.Update" && \
echo -e "PackageVersion=0.4.6.1969\nPackageAuthor=[draconis](https://draconis.me)" > "${APP_DIR}/package_info" && \
chmod -R u=rwX,go=rX "${APP_DIR}"
COPY root/ /
RUN chmod -R +x /etc/cont-init.d/ /etc/services.d/