Compare commits

...

2 commits

Author SHA1 Message Date
6443db0f7c
Add environment variable
It tells `apt-get` that there is no frontend tty.
2023-10-20 06:42:24 -04:00
abbc085295
Swap to Ubuntu image for base 2023-10-20 06:41:46 -04:00

View file

@ -18,7 +18,7 @@ ARG PACKAGE_HASH=23af572fdfe3459b9ab97e2e9aa7e3c11021c955d6064b801a27d7e8c21ae09
ARG PACKAGE_NAME=monero-linux-x64-${MONERO_VERSION}.tar.bz2
# download and unpack stage
FROM docker.io/library/debian:12 as downloader
FROM docker.io/library/ubuntu:22.04 as downloader
RUN set -ex && \
apt-get update && \
@ -40,13 +40,13 @@ RUN set -ex && \
# runtime stage
FROM docker.io/library/debian:12-slim
FROM docker.io/library/ubuntu:22.04
LABEL maintainer="Foster Hangdaan <foster@hangdaan.email>"
RUN set -ex && \
apt-get update && \
apt-get --no-install-recommends --yes install ca-certificates && \
DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends --yes install ca-certificates && \
apt-get clean && \
rm -rf /var/lib/apt
COPY --from=downloader /monero/tmp/monerod /monero/tmp/monero-wallet* /usr/local/bin/