Skip to content

Commit

Permalink
disable cache for apk in docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkrissym committed Mar 31, 2024
1 parent 49ad349 commit 97bd5fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine as build

RUN apk add \
RUN apk add --no-cache \
g++ \
make \
cmake \
Expand All @@ -23,7 +23,7 @@ RUN mkdir build && \

FROM alpine

RUN apk add \
RUN apk add --no-cache \
zlib \
opus \
libsodium \
Expand All @@ -33,7 +33,7 @@ RUN apk add \
ffmpeg \
py3-pip

RUN pip install youtube_dl
RUN pip install --no-cache-dir youtube_dl
RUN pip cache purge

COPY --from=build /app/build/libdiscord_cpp.so /usr/local/lib
Expand Down

0 comments on commit 97bd5fa

Please sign in to comment.