diff --git a/Dockerfile b/Dockerfile index 7cc5517b..cd45f111 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,9 @@ ENV GITLAB_INSTALL_DIR="${GITLAB_HOME}/gitlab" \ RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ - wget ca-certificates apt-transport-https gnupg2 + wget ca-certificates apt-transport-https gnupg2 \ + && rm -rf /var/lib/apt/lists/* + RUN set -ex && \ apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E1DD270288B4E6030699E45FA1715D88E1DF1F24 \ && echo "deb http://ppa.launchpad.net/git-core/ppa/ubuntu bionic main" >> /etc/apt/sources.list \