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
|
WORKDIR /opt/build
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN cargo install --path .
|
RUN apk add openssl && \
|
||||||
|
cargo install --path .
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue