Skip to content

Commit

Permalink
Switch to using Debian Buster (slim) as a base image
Browse files Browse the repository at this point in the history
  • Loading branch information
internetionals committed Mar 2, 2021
1 parent 5a3f48e commit df533cf
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,10 +1,10 @@
FROM rust:alpine3.13 AS buildenv
FROM rust:slim-buster AS buildenv

COPY . /build
WORKDIR /build
RUN cargo build --release

FROM alpine:3.13
FROM debian:buster-slim

COPY --from=buildenv /build/target/release/claim-ip /usr/local/bin/

Expand Down

0 comments on commit df533cf

Please sign in to comment.