This is an automated email from the ASF dual-hosted git repository. snuyanzin pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/flink-ci-docker.git
commit d97fdfce8c976a27016069979d05e779d09cff98 Author: Chesnay Schepler <[email protected]> AuthorDate: Tue Mar 29 16:42:14 2022 +0200 Install latest git --- base/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/base/Dockerfile b/base/Dockerfile index e04b60b..9d52b52 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -3,9 +3,15 @@ FROM ubuntu:xenial # install packages RUN set -eux; \ apt-get update; apt-get upgrade -y ; \ - apt-get install -y gosu sudo locales make less git build-essential openjdk-8-jdk curl libapr1 unzip uuid-runtime jq bsdmainutils wget python docker.io psmisc software-properties-common apt-transport-https; \ + apt-get install -y gosu sudo locales make less build-essential openjdk-8-jdk curl libapr1 unzip uuid-runtime jq bsdmainutils wget python docker.io psmisc software-properties-common apt-transport-https; \ rm -rf /var/lib/apt/lists/*; +# Install latest git +RUN set -eux; \ + add-apt-repository -y ppa:git-core/ppa; \ + apt-get update; \ + apt-get install -y git + # Install Adopt JDK11 RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - ; \ add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ ; \
