Try debian:buster-slim instead of alpine
This commit is contained in:
parent
3c1f468c39
commit
fb810f0850
|
|
@ -1,4 +1,4 @@
|
||||||
FROM rust:stretch as base
|
FROM rust:stretch as builder
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
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
|
RUN rustc -V; cargo -V; rustup -V; cargo test --all && cargo build --release
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM debian:buster-slim
|
||||||
COPY --from=base /zebra/target/release/zebrad .
|
COPY --from=builder /zebra/target/release/zebrad .
|
||||||
ENV PORT 8233
|
ENV PORT 8233
|
||||||
CMD ["./zebrad", "seed"]
|
CMD ["./zebrad", "seed"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue