mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-23 03:05:07 +00:00
Move the Monero Dockerfile to alpine
This commit is contained in:
parent
bdbeedc723
commit
32a937ddb9
1 changed files with 5 additions and 6 deletions
|
@ -26,16 +26,15 @@ RUN gpg --keyserver hkp://keyserver.ubuntu.com:80 --keyserver-options no-self-si
|
||||||
# Cleanup
|
# Cleanup
|
||||||
RUN tar -xvjf monero-linux-x64-v${MONERO_VERSION}.tar.bz2 --strip-components=1
|
RUN tar -xvjf monero-linux-x64-v${MONERO_VERSION}.tar.bz2 --strip-components=1
|
||||||
|
|
||||||
# Prepare Image
|
# Build the actual image
|
||||||
FROM debian:bookworm-slim as image
|
FROM alpine:latest as image
|
||||||
|
|
||||||
WORKDIR /home/monero
|
WORKDIR /home/monero
|
||||||
COPY --from=builder /home/monero/* .
|
COPY --from=builder /home/monero/monerod /bin
|
||||||
RUN mv * /bin/
|
ADD scripts /scripts
|
||||||
COPY ./scripts /scripts
|
|
||||||
|
|
||||||
# Upgrade packages
|
# Upgrade packages
|
||||||
RUN apt update && apt upgrade -y
|
RUN apk update && apk upgrade && apk add gcompat
|
||||||
|
|
||||||
EXPOSE 18080 18081
|
EXPOSE 18080 18081
|
||||||
VOLUME /home/monero/.bitmonero
|
VOLUME /home/monero/.bitmonero
|
||||||
|
|
Loading…
Reference in a new issue