apt cleanup
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Paolo Asperti 2024-05-02 10:06:23 +02:00
parent 4fb84bc0af
commit afc649d6c8
Signed by: paspo
GPG Key ID: 06D46905D19D5182
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ COPY --from=prep /tmp/hugo.deb /tmp/hugo.deb
RUN \
apt update && \
DEBIAN_FRONTEND=noninteractive apt -y upgrade && \
apt install -y /tmp/hugo.deb && rm /tmp/hugo.deb
apt install -y /tmp/hugo.deb && \
rm -rf /var/lib/apt/lists/ /tmp/hugo.deb
ENTRYPOINT [ "/usr/local/bin/hugo" ]