use debian instead of alpine
This commit is contained in:
parent
27040b66ee
commit
5cb9c3d202
@ -1,12 +1,11 @@
|
|||||||
FROM rust:1.80-alpine3.20 as build
|
FROM rust:1.81-bookworm as build
|
||||||
|
|
||||||
COPY battlesnake/ /usr/app
|
COPY battlesnake/ /usr/app
|
||||||
WORKDIR /usr/app
|
WORKDIR /usr/app
|
||||||
|
|
||||||
RUN apk add --no-cache musl-dev=1.2.5-r0
|
|
||||||
RUN cargo install --path .
|
RUN cargo install --path .
|
||||||
|
|
||||||
FROM alpine:3.20
|
FROM debian:bookworm
|
||||||
COPY --from=build /usr/local/cargo/bin/battlesnake /bin/battlesnake
|
COPY --from=build /usr/local/cargo/bin/battlesnake /bin/battlesnake
|
||||||
|
|
||||||
CMD ["battlesnake"]
|
CMD ["battlesnake"]
|
||||||
|
Loading…
Reference in New Issue
Block a user