16 lines
627 B
Docker
16 lines
627 B
Docker
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"]
|