rei_nodenzola_docker/Dockerfile
Olivier aa45b4ac7f
All checks were successful
continuous-integration/drone/push Build is passing
Update Zola to version 0.13.0
2021-03-16 21:05:46 +00:00

14 lines
516 B
Docker

FROM rust:1.49.0-slim
# install needed APT packages, then clear out the cache to reduce image size bloat
RUN apt-get -qq update && \
apt-get -yqq install pkg-config nodejs npm git rsync python3 python3-pil && \
rm -r /var/cache/apt
# install zola from source, then remove (heavy) cargo temporaries to reduce bloat
RUN cargo install --git https://bics.ga/reivilibre/mirror-zola.git --rev 1ef8c85f53b4988fdafc0e6271cce590515d55aa && \
rm -r /usr/local/cargo/registry && \
rm -r /usr/local/cargo/git
# Done?