Compare commits

..

2 Commits

Author SHA1 Message Date
fe0d3c4372 Fix PATH and ENTRYPOINT/CMD
Some checks failed
on-push / build (push) Failing after 2m35s
2026-01-21 22:03:53 +01:00
54a2f3ed48 Add minio-client 2026-01-21 22:03:26 +01:00

View File

@@ -1,7 +1,11 @@
FROM alpine:latest
LABEL maintainer="Ryan <ryan@helloryan.se>"
RUN apk add rust cargo
RUN apk add rust cargo minio-client
RUN cargo install mdbook
ENV PATH="/root/.cargo/bin"
ENTRYPOINT ["/root/.cargo/bin/mdbook"]
ENV PATH="/root/.cargo/bin:$PATH"
RUN printf "#!/bin/sh\n\$@\n" > /entrypoint.sh && chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/root/.cargo/bin/mdbook"]