chore: remove rust toolchain, add mdbook, nu binaries
This commit is contained in:
parent
2fb9834c8a
commit
60b7c4dfee
@ -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
BIN
src/bin/mdbook
Executable file
Binary file not shown.
BIN
src/bin/mdbook-admonish
Executable file
BIN
src/bin/mdbook-admonish
Executable file
Binary file not shown.
BIN
src/bin/mdbook-cmdrun
Executable file
BIN
src/bin/mdbook-cmdrun
Executable file
Binary file not shown.
BIN
src/bin/mdbook-codeblocks
Executable file
BIN
src/bin/mdbook-codeblocks
Executable file
Binary file not shown.
BIN
src/bin/mdbook-extended-markdown-table
Executable file
BIN
src/bin/mdbook-extended-markdown-table
Executable file
Binary file not shown.
BIN
src/bin/mdbook-quiz
Executable file
BIN
src/bin/mdbook-quiz
Executable file
Binary file not shown.
BIN
src/bin/mdbook-tera
Executable file
BIN
src/bin/mdbook-tera
Executable file
Binary file not shown.
BIN
src/bin/mdbook-toc
Executable file
BIN
src/bin/mdbook-toc
Executable file
Binary file not shown.
BIN
src/bin/mdbook-variables
Executable file
BIN
src/bin/mdbook-variables
Executable file
Binary file not shown.
BIN
src/bin/nu
Executable file
BIN
src/bin/nu
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user