commit a8f465fdc8625794bd9f28d25823b14546334e84 parent 1c14adc766e8be09f27534d5af64fa56c3e60ee9 Author: Greg Heartsfield <scsibug@imap.cc> Date: Mon, 4 Jul 2022 17:35:17 -0500 improvement: upgrade docker base images (and specify explicit repository) Diffstat:
M | Dockerfile | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.60.0 as builder +FROM docker.io/library/rust:1.62.0@sha256:8220e4fbb22a07b78e6472cdf8f5fb8913a04974c26b130177b73a8a64334541 as builder RUN USER=root cargo new --bin nostr-rs-relay WORKDIR ./nostr-rs-relay @@ -12,7 +12,7 @@ COPY ./src ./src RUN rm ./target/release/deps/nostr*relay* RUN cargo build --release -FROM debian:bullseye-20220527-slim@sha256:89e9d812b34f393bddc3ff289f0036a3d9efc7e2f7289ec902c6427b69f39649 +FROM docker.io/library/debian:bullseye-20220622-slim@sha256:89e9d812b34f393bddc3ff289f0036a3d9efc7e2f7289ec902c6427b69f39649 ARG APP=/usr/src/app ARG APP_DATA=/usr/src/app/db RUN apt-get update \