Update Dockerfile
This commit is contained in:
@@ -21,7 +21,7 @@ RUN set -eux; \
|
|||||||
tar -C /usr/local -xzf /tmp/go.tgz; \
|
tar -C /usr/local -xzf /tmp/go.tgz; \
|
||||||
rm /tmp/go.tgz
|
rm /tmp/go.tgz
|
||||||
|
|
||||||
RUN git clone --depth 1 --branch dev https://github.com/Wieku/danser-go.git /src/danser
|
RUN git clone --depth 1 --branch fix-screenshot-slider-ticks https://github.com/Arlind-dev/danser-go.git /src/danser
|
||||||
WORKDIR /src/danser
|
WORKDIR /src/danser
|
||||||
|
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
@@ -61,6 +61,7 @@ RUN set -eux; \
|
|||||||
mkdir -p /out/danser/settings /out/danser/Songs /out/danser/Skins /out/danser/Replays /out/danser/videos; \
|
mkdir -p /out/danser/settings /out/danser/Songs /out/danser/Skins /out/danser/Replays /out/danser/videos; \
|
||||||
rm -rf "$BUILD_DIR"
|
rm -rf "$BUILD_DIR"
|
||||||
|
|
||||||
|
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
IMAGICK_URL="$(curl -s https://api.github.com/repos/ImageMagick/ImageMagick/releases/latest | jq -r '.tarball_url')"; \
|
IMAGICK_URL="$(curl -s https://api.github.com/repos/ImageMagick/ImageMagick/releases/latest | jq -r '.tarball_url')"; \
|
||||||
mkdir -p /tmp/im; \
|
mkdir -p /tmp/im; \
|
||||||
@@ -89,9 +90,11 @@ ARG NODE_VERSION=20.11.1
|
|||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
libglvnd0 libegl1 libgles2 libgl1 libgtk-3-0 libglib2.0-0 \
|
libglvnd0 libegl1 libgles2 libgl1 libgtk-3-0 libglib2.0-0 \
|
||||||
git curl jq git-lfs libgomp1 \
|
git curl jq git-lfs \
|
||||||
xz-utils libpng16-16 libfreetype6 libfontconfig1 libxml2 ghostscript webp \
|
xz-utils libpng16-16 libfreetype6 libfontconfig1 libxml2 ghostscript webp \
|
||||||
fonts-urw-base35 fonts-noto-color-emoji fonts-dejavu-core \
|
fonts-urw-base35 fonts-noto-color-emoji fonts-dejavu-core \
|
||||||
|
libgomp1 \
|
||||||
|
zip unzip \
|
||||||
&& curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" -o /tmp/node.tar.xz \
|
&& curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" -o /tmp/node.tar.xz \
|
||||||
&& tar -C /usr/local --strip-components=1 -xf /tmp/node.tar.xz \
|
&& tar -C /usr/local --strip-components=1 -xf /tmp/node.tar.xz \
|
||||||
&& rm /tmp/node.tar.xz \
|
&& rm /tmp/node.tar.xz \
|
||||||
|
|||||||
Reference in New Issue
Block a user