Try to optimize runner disk space consumption during build

This commit is contained in:
Andrey Danilov
2024-05-21 08:47:38 +03:00
parent 6a6651601a
commit 290051d167

View File

@@ -1,9 +1,11 @@
FROM alpine:3.19.1 as assets
RUN apk add --update \
bash \
git \
git-lfs
RUN apk add \
--update \
--no-cache \
bash \
git \
git-lfs
COPY --chmod=755 ./assets-download.sh /assets-download.sh
@@ -16,7 +18,8 @@ SHELL [ "/bin/bash", "-c" ]
RUN apt update && \
apt install -y \
libsndfile1 \
libsndfile1-dev
libsndfile1-dev && \
rm -rf /var/lib/apt/lists/*
COPY --from=assets /assets /assets