We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61dae3b commit 5d22cfeCopy full SHA for 5d22cfe
1 file changed
docker/native-image/dockerfile
@@ -7,8 +7,7 @@ ENV PATH="${JAVA_HOME}/bin:${PATH}"
7
RUN apt-get update && apt-get install -y software-properties-common
8
RUN add-apt-repository ppa:ubuntu-toolchain-r/test
9
RUN apt-get update
10
-RUN apt-get install -y git build-essential zlib1g-dev
11
-RUN apt-get install -y gcc-10 g++-10
+RUN apt-get install -y git build-essential zlib1g-dev gcc-10 g++-10
12
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 60 --slave /usr/bin/g++ g++ /usr/bin/g++-10
13
# Avoid errors like: "fatal: detected dubious ownership in repository"
14
RUN git config --global --add safe.directory '*'
0 commit comments