mirror of
https://github.com/jellyfin/jellyfin-packaging.git
synced 2024-11-22 21:49:46 +00:00
Add safe.directory for jellyfin-web
Ensures that the `git` command to obtain the commit hash works properly.
This commit is contained in:
parent
deaf5b96c5
commit
22f1a26ee7
3
debian/docker/Dockerfile
vendored
3
debian/docker/Dockerfile
vendored
@ -47,7 +47,8 @@ RUN apt-get update -y \
|
||||
libssl-dev \
|
||||
&& apt-get clean autoclean -y \
|
||||
&& apt-get autoremove -y \
|
||||
&& rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*
|
||||
&& rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* \
|
||||
&& git config --global --add safe.directory /jellyfin/jellyfin-web
|
||||
|
||||
# Prepare the cross-toolchain
|
||||
RUN if test "${PACKAGE_ARCH}" != "$( dpkg --print-architecture )"; then \
|
||||
|
@ -57,7 +57,8 @@ RUN apk add \
|
||||
musl-dev \
|
||||
nasm \
|
||||
python3 \
|
||||
git
|
||||
git \
|
||||
&& git config --global --add safe.directory /jellyfin/jellyfin-web
|
||||
|
||||
WORKDIR ${SOURCE_DIR}
|
||||
COPY jellyfin-web .
|
||||
|
@ -44,7 +44,8 @@ RUN apt-get update -y \
|
||||
libfreetype*-dev \
|
||||
&& apt-get clean autoclean -y \
|
||||
&& apt-get autoremove -y \
|
||||
&& rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*
|
||||
&& rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* \
|
||||
&& git config --global --add safe.directory /jellyfin/jellyfin-web
|
||||
|
||||
# Prepare dotnet SDK
|
||||
RUN wget https://packages.microsoft.com/config/${PACKAGE_TYPE}/${PACKAGE_VERSION}/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
|
||||
|
Loading…
Reference in New Issue
Block a user