diff --git a/docker/gitea/Dockerfile b/docker/gitea/Dockerfile index 8351f8bc0b..afe29727e7 100644 --- a/docker/gitea/Dockerfile +++ b/docker/gitea/Dockerfile @@ -33,7 +33,9 @@ ARG GITEA_VERSION="v1.20.4" ENV TAGS "bindata $TAGS" #Build deps -RUN apt-get update && apt-get -y install build-essential git apt-transport-https curl gnupg2 \ +RUN apt-get update \ + && apt-get -y dist-upgrade \ + && apt-get -y install build-essential git apt-transport-https curl gnupg2 \ && curl -sS https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \ && echo "deb https://deb.nodesource.com/node_20.x bookworm main" | tee /etc/apt/sources.list.d/nodesource.list \ && apt-get update \ @@ -64,7 +66,9 @@ RUN chmod 755 gitea \ FROM docker.io/library/debian:bookworm-slim as base -RUN apt-get update && apt-get -y install \ +RUN apt-get update \ + && apt-get -y dist-upgrade \ + && apt-get -y install \ bash \ ca-certificates \ curl \