Docker: updated Ubuntu version

This commit is contained in:
sech1
2025-08-20 10:16:58 +02:00
parent fb85deabbe
commit 257781f2e2
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
# Multistage docker build, requires docker 17.05
# builder stage
FROM ubuntu:20.04 as builder
FROM ubuntu:22.04 as builder
ARG MONERO_GIT_TAG="latest"
RUN set -e && \
@@ -32,7 +32,7 @@ RUN git clone --recursive https://github.com/monero-project/monero && \
# ---
# runtime stage
FROM ubuntu:20.04
FROM ubuntu:22.04
COPY --from=0 /src/monero/build/*/release/bin /usr/local/bin/

View File

@@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:22.04
RUN set -e && \
apt-get update -q -y --no-install-recommends && \
@@ -20,7 +20,7 @@ RUN git clone https://github.com/xmrig/xmrig.git && \
# ---
FROM ubuntu:20.04
FROM ubuntu:22.04
COPY --from=0 /usr/src/xmrig/build/xmrig /