* Slimming down website docker image
This commit is contained in:
parent
492ec141cc
commit
435d4e59c8
@ -1,12 +1,9 @@
|
||||
FROM debian:sid-slim
|
||||
MAINTAINER Alejandro Santillana alejandros714@protonmail.com
|
||||
|
||||
# Relevant to actually building static websites
|
||||
RUN apt-get update && apt-get install -y git pandoc hugo
|
||||
# For more easily logging into ionos
|
||||
RUN apt-get install -y sshpass
|
||||
RUN apt-get install -y curl
|
||||
# For building and deploying to the VPS's and neocities
|
||||
RUN apt-get update && \
|
||||
apt-get install -y pandoc hugo curl --no-install-recommends && \
|
||||
rm -rf var/lib/{apt,dpkg,cache,log}/
|
||||
|
||||
|
||||
RUN git clone https://gitlab.com/shockrah/site-generator /tmp/gensite
|
||||
RUN cd /tmp/gensite && ./install.sh g
|
||||
RUN rm -rf /tmp/gensite
|
||||
|
Loading…
Reference in New Issue
Block a user