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