unpin alpine version in dockerfile

This commit is contained in:
neri 2022-02-27 02:15:46 +01:00
parent d340db3b51
commit 166d2e09ba
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM rust:alpine3.14 as builder FROM rust:alpine as builder
WORKDIR /app WORKDIR /app
RUN apk add musl-dev RUN apk add musl-dev
@ -18,7 +18,7 @@ RUN strip /app/target/x86_64-unknown-linux-musl/release/datatrash
FROM alpine:3.14 FROM alpine
WORKDIR /opt/datatrash WORKDIR /opt/datatrash
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/datatrash ./ COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/datatrash ./