2024-10-21 17:36:18 +11:00
|
|
|
FROM scratch AS base
|
2024-08-09 18:19:59 -04:00
|
|
|
WORKDIR /builder
|
2023-12-08 21:19:17 +11:00
|
|
|
COPY . .
|
|
|
|
|
2025-02-20 14:00:03 -05:00
|
|
|
FROM adelielinux/adelie:1.0-beta6@sha256:7126a96c19be064a487ba7176baa58200a26ce8fda02b851b4a0bef760b1f469
|
2024-08-09 18:19:59 -04:00
|
|
|
LABEL org.opencontainers.image.source="https://git.toast-server.net/toast/Rustbot"
|
2024-05-02 19:25:29 -04:00
|
|
|
RUN apk add --no-cache libgcc
|
2023-12-08 21:19:17 +11:00
|
|
|
WORKDIR /rustbot
|
2024-10-21 17:36:18 +11:00
|
|
|
COPY --from=base /builder/target/x86_64-unknown-linux-musl/release/rustbot .
|
|
|
|
CMD [ "./rustbot" ]
|