Skip to content

Commit

Permalink
Blindly update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Freaky committed Mar 9, 2020
1 parent bf01354 commit c3137f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.33-stretch as build
FROM rust:1-slim-buster as build

WORKDIR /usr/src/tarssh

Expand All @@ -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
Expand Down

0 comments on commit c3137f5

Please sign in to comment.