File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,15 @@ RUN apt-get -y update \
1919 "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/xenial-security.gpg] http://security.ubuntu.com/ubuntu \
2020 xenial-security main" | tee /etc/apt/sources.list.d/xenial-security.list > /dev/null \
2121 && apt-get -y update \
22- && apt-get install -y temurin-8-jdk maven git docker-ce-cli python2 libssl1.0.0 libapr1 \
22+ && apt-get install -y temurin-8-jdk git docker-ce-cli python2 libssl1.0.0 libapr1 \
2323 && apt-get install -y temurin-11-jdk \
24- && rm -rf /var/lib/apt/lists/*
24+ && rm -rf /var/lib/apt/lists/* \
25+ && wget https://dlcdn.apache.org/maven/maven-3/3.9.10/binaries/apache-maven-3.9.10-bin.tar.gz \
26+ && tar -xvzf apache-maven-3.9.10-bin.tar.gz -C /opt \
27+ && ln -s /opt/apache-maven-3.9.10 /opt/maven
28+
29+ ENV MAVEN_HOME=/opt/maven
30+ ENV PATH="$MAVEN_HOME/bin:${PATH}"
2531
2632RUN echo 2 | update-alternatives --config java
2733
You can’t perform that action at this time.
0 commit comments