diff options
| author | JinYi-Tsinghua <109143373+JinYi-Tsinghua@users.noreply.github.com> | 2022-07-12 18:20:29 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-12 18:20:29 +0800 |
| commit | a94aec9b326935bc9583f74f3f3c15df0139cf24 (patch) | |
| tree | 0de6d7043072d690864d379d2edd16103f830e0a /deployment | |
| parent | 9a5869ea82c56757b4d12226005cf86ede780436 (diff) | |
Create Dockerfile.linux.musl-linux-arm64
Diffstat (limited to 'deployment')
| -rw-r--r-- | deployment/Dockerfile.linux.musl-linux-arm64 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/deployment/Dockerfile.linux.musl-linux-arm64 b/deployment/Dockerfile.linux.musl-linux-arm64 new file mode 100644 index 000000000..2da72e4ae --- /dev/null +++ b/deployment/Dockerfile.linux.musl-linux-arm64 @@ -0,0 +1,26 @@ +FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim +# Docker build arguments +ARG SOURCE_DIR=/jellyfin +ARG ARTIFACT_DIR=/dist +# Docker run environment +ENV SOURCE_DIR=/jellyfin +ENV ARTIFACT_DIR=/dist +ENV DEB_BUILD_OPTIONS=noddebs +ENV ARCH=arm64 +ENV IS_DOCKER=YES + +# Prepare Debian build environment +RUN apt-get update -yqq \ + && apt-get install -yqq --no-install-recommends \ + apt-transport-https debhelper gnupg devscripts unzip \ + mmv libcurl4-openssl-dev libfontconfig1-dev \ + libfreetype6-dev libssl-dev libssl1.1 liblttng-ust0 + +# Link to docker-build script +RUN ln -sf ${SOURCE_DIR}/deployment/build.linux.musl-linux-arm64 /build.sh + +VOLUME ${SOURCE_DIR}/ + +VOLUME ${ARTIFACT_DIR}/ + +ENTRYPOINT ["/build.sh"] |
