use raw alpine
This commit is contained in:
parent
21f0419ef3
commit
f67d618f67
@ -1,9 +1,9 @@
|
|||||||
FROM rust:alpine as build
|
FROM alpine as build
|
||||||
|
|
||||||
ENV RUSTFLAGS="-C target-feature=-crt-static"
|
ENV RUSTFLAGS="-C target-feature=-crt-static"
|
||||||
WORKDIR /usr/src/saysthbot
|
WORKDIR /usr/src/saysthbot
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN rustup default nightly && cargo build --release
|
RUN apk add --no-cache rustup openssl-dev && rustup default nightly && cargo build --release
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user