Try debian:buster-slim instead of alpine

This commit is contained in:
Deirdre Connolly 2020-01-29 17:55:03 -05:00 committed by Deirdre Connolly
parent 3c1f468c39
commit fb810f0850
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM rust:stretch as base
FROM rust:stretch as builder
RUN apt-get update && \
apt-get install -y --no-install-recommends \
@ -22,7 +22,7 @@ COPY . .
RUN rustc -V; cargo -V; rustup -V; cargo test --all && cargo build --release
FROM alpine:latest
COPY --from=base /zebra/target/release/zebrad .
FROM debian:buster-slim
COPY --from=builder /zebra/target/release/zebrad .
ENV PORT 8233
CMD ["./zebrad", "seed"]