chore: remove rust toolchain, add mdbook, nu binaries

This commit is contained in:
Jesús Pérez Lorenzo 2024-10-03 05:39:48 +00:00
parent 2fb9834c8a
commit 60b7c4dfee
11 changed files with 7 additions and 5 deletions

View File

@ -22,7 +22,8 @@ RUN curl -L --silent -o webhook.tar.gz https://github.com/adnanh/webhook
rm -rf /go rm -rf /go
#FROM docker.io/alpine:edge #FROM docker.io/alpine:edge
FROM docker.io/rust:bookworm #FROM docker.io/rust:bookworm
FROM docker.io/debian:bookworm-slim
ENV RESTIC_VERSION=0.17.1 ENV RESTIC_VERSION=0.17.1
ENV RESTIC_ARCH=linux_amd64 ENV RESTIC_ARCH=linux_amd64
@ -54,11 +55,11 @@ RUN set -eux; \
zlib1g \ zlib1g \
gnupg \ gnupg \
wget \ wget \
# python3 \ # python3-pip \
python3-pip \ # python3-jinja2 \
python3-jinja2 \
# python3-s3cmd \ # python3-s3cmd \
pipx; \ # pipx \
; \
update-ca-certificates; \ update-ca-certificates; \
# python3 -m ensurepip; \ # python3 -m ensurepip; \
# rm -r /usr/lib/python*/ensurepip; \ # rm -r /usr/lib/python*/ensurepip; \
@ -77,6 +78,7 @@ RUN set -eux; \
rm -f /tmp/restic*; rm -f /tmp/restic*;
COPY --from=build /usr/local/bin/webhook /usr/local/bin/webhook COPY --from=build /usr/local/bin/webhook /usr/local/bin/webhook
COPY bin/* /usr/local/bin
WORKDIR /etc/webhook WORKDIR /etc/webhook
VOLUME ["/etc/webhook"] VOLUME ["/etc/webhook"]
EXPOSE 9000 EXPOSE 9000

BIN
src/bin/mdbook Executable file

Binary file not shown.

BIN
src/bin/mdbook-admonish Executable file

Binary file not shown.

BIN
src/bin/mdbook-cmdrun Executable file

Binary file not shown.

BIN
src/bin/mdbook-codeblocks Executable file

Binary file not shown.

Binary file not shown.

BIN
src/bin/mdbook-quiz Executable file

Binary file not shown.

BIN
src/bin/mdbook-tera Executable file

Binary file not shown.

BIN
src/bin/mdbook-toc Executable file

Binary file not shown.

BIN
src/bin/mdbook-variables Executable file

Binary file not shown.

BIN
src/bin/nu Executable file

Binary file not shown.