From c3137f5ab20e61ed8dceb8d7dc7628d0e8294450 Mon Sep 17 00:00:00 2001 From: Thomas Hurst Date: Mon, 9 Mar 2020 22:51:48 +0000 Subject: [PATCH] Blindly update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5e7932d..5b1f7e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.33-stretch as build +FROM rust:1-slim-buster as build WORKDIR /usr/src/tarssh @@ -15,7 +15,7 @@ COPY . . RUN cargo build --release --no-default-features --features drop_privs # Use a fairly minimal enviroment for deployment -FROM debian:stretch-slim +FROM debian:buster-slim RUN mkdir /var/empty && chmod 0555 /var/empty COPY --from=build /usr/src/tarssh/target/release/tarssh /opt/tarssh