use debian instead of alpine
This commit is contained in:
parent
2f4573d1c0
commit
e7d5545ded
|
@ -1,11 +1,10 @@
|
||||||
FROM rust:alpine as builder
|
FROM rust as builder
|
||||||
|
|
||||||
WORKDIR /opt/build
|
WORKDIR /opt/build
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN apk add openssl && \
|
RUN cargo install --path .
|
||||||
cargo install --path .
|
|
||||||
|
|
||||||
FROM alpine
|
FROM debian:bullseye-slim
|
||||||
|
|
||||||
WORKDIR /opt/data
|
WORKDIR /opt/data
|
||||||
COPY --from=builder /usr/local/cargo/bin/gitea-bot /bin/gitea-bot
|
COPY --from=builder /usr/local/cargo/bin/gitea-bot /bin/gitea-bot
|
||||||
|
|
Loading…
Reference in New Issue