migrate to debian slim
This commit is contained in:
parent
66f3383cc5
commit
30b85c9950
11
Dockerfile
11
Dockerfile
@ -1,9 +1,10 @@
|
|||||||
FROM alpine:edge
|
FROM debian:11-slim
|
||||||
|
|
||||||
ARG HUGO_VERSION=0.110.0
|
ARG HUGO_VERSION=0.110.0
|
||||||
|
|
||||||
RUN \
|
ADD "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb" /tmp/hugo.deb
|
||||||
apk -U add wget libgcc libstdc++ && \
|
|
||||||
wget -O - "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz" | tar xvzf - -C /usr/bin
|
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/hugo" ]
|
RUN \
|
||||||
|
apt install -y /tmp/hugo.deb && rm /tmp/hugo.deb
|
||||||
|
|
||||||
|
ENTRYPOINT [ "/usr/local/bin/hugo" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user