Initial commit.
This commit is contained in:
commit
6ee0366715
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM rust:1.49.0-slim
|
||||
|
||||
# install needed APT packages, then clear out the cache to reduce image size bloat
|
||||
RUN apt install apt-get -qq update && \
|
||||
apt-get -yqq install pkg-config nodejs npm git && \
|
||||
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 fce3e4b8a0d04067e4ffc063572872e912dec5dd && \
|
||||
rm -r /usr/local/cargo/{registry,git,.package-cache}
|
||||
|
||||
# Done?
|
Loading…
Reference in New Issue
Block a user