~vpzom/crepo

16a47802c750444e3949a5be48d09ea5e4b4382e — Colin Reeder 3 years ago b03d44d
update alpine version in Dockerfile
1 files changed, 2 insertions(+), 2 deletions(-)

M Dockerfile
M Dockerfile => Dockerfile +2 -2
@@ 1,11 1,11 @@
FROM alpine:3.9 AS builder
FROM alpine:3.12 AS builder
RUN apk add --no-cache rust cargo openssl-dev
WORKDIR /usr/src/crepo
COPY Cargo.* ./
COPY src ./src
RUN cargo build --release

FROM alpine:3.9
FROM alpine:3.12
RUN apk add --no-cache libgcc openssl
COPY --from=builder /usr/src/crepo/target/release/crepo /usr/bin/
CMD ["crepo"]