os upgrade

This commit is contained in:
Paolo Asperti 2024-05-02 09:14:07 +02:00
parent 71bbba11cc
commit d168e6aaa6
Signed by: paspo
GPG Key ID: 06D46905D19D5182
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ ARG HUGO_ARCH=amd64
ADD "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-${HUGO_ARCH}.deb" /tmp/hugo.deb
RUN \
apt update && \
DEBIAN_FRONTEND=noninteractive apt -y upgrade && \
apt install -y /tmp/hugo.deb && rm /tmp/hugo.deb
ENTRYPOINT [ "/usr/local/bin/hugo" ]