Smaller website image
This commit is contained in:
parent
7de41c8bfd
commit
99bac4e6e1
@ -1,9 +1,11 @@
|
|||||||
FROM debian:sid-slim
|
FROM debian:sid-slim
|
||||||
MAINTAINER Alejandro Santillana alejandros714@protonmail.com
|
# Install wget -> Install hugo -> Cleanup
|
||||||
|
|
||||||
# For building and deploying to the VPS's and neocities
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y pandoc hugo curl --no-install-recommends && \
|
apt-get install -y --no-install-recommends ca-certificates wget && \
|
||||||
rm -rf var/lib/{apt,dpkg,cache,log}/
|
wget -O /tmp/hugo.tar.gz https://github.com/gohugoio/hugo/releases/download/v0.119.0/hugo_extended_0.119.0_linux-amd64.tar.gz && \
|
||||||
|
tar -xzf /tmp/hugo.tar.gz && \
|
||||||
|
mv /hugo /usr/local/bin/ && \
|
||||||
|
apt remove -y ca-certificates wget && \
|
||||||
|
rm -rf var/lib/{apt,dpkg,cache,log}/ /tmp/hugo*
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user