mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Use non-slim variants to remove needing to apt additional packages
Prevents needing to rebuild all the time via allowing cache hits.
This commit is contained in:
@@ -28,8 +28,6 @@ RUN tar xzvf bitcoin-${BITCOIN_VERSION}-x86_64-linux-gnu.tar.gz
|
||||
|
||||
FROM debian:bullseye-slim as image
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
|
||||
WORKDIR /home/bitcoin
|
||||
COPY --from=builder /home/bitcoin/* .
|
||||
RUN mv bin/* /bin && mv lib/* /lib
|
||||
|
||||
@@ -29,8 +29,6 @@ RUN tar -xvjf monero-linux-x64-v${MONERO_VERSION}.tar.bz2 --strip-components=1
|
||||
# Prepare Image
|
||||
FROM debian:bullseye-slim as image
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
|
||||
WORKDIR /home/monero
|
||||
COPY --from=builder /home/monero/* .
|
||||
RUN mv * /bin/
|
||||
|
||||
Reference in New Issue
Block a user