use alpine for building
This commit is contained in:
parent
ba0487cb50
commit
2f4573d1c0
|
@ -1,8 +1,9 @@
|
|||
FROM rust as builder
|
||||
FROM rust:alpine as builder
|
||||
|
||||
WORKDIR /opt/build
|
||||
COPY . .
|
||||
RUN cargo install --path .
|
||||
RUN apk add openssl && \
|
||||
cargo install --path .
|
||||
|
||||
FROM alpine
|
||||
|
||||
|
|
Loading…
Reference in New Issue