Add Dockerfile

This commit is contained in:
Emil Miler 2024-04-03 10:39:32 +02:00
parent 167c4f8784
commit ab95372a89

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM debian:latest
ARG ZOLA_VERSION="0.18.0"
ARG CHORDPRO_VERSION="6.050"
RUN apt update -y && apt-get install -y --no-install-recommends \
ca-certificates openssl openssh-client rsync git wget build-essential cpanminus ghostscript
RUN update-ca-certificates
RUN cpanm chordpro@${CHORDPRO_VERSION}
RUN wget https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz && \
tar -xvzf zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz && \
mv zola /usr/local/bin/zola && \
rm zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz
CMD ["/bin/sh"]