Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sonia Zorba
vollt-private-rows-demo
Commits
bde63532
Commit
bde63532
authored
Dec 01, 2021
by
Sonia Zorba
Browse files
Updated Maven version
parent
4d02897f
Pipeline
#8761
passed with stages
in 1 minute and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
private-rows-extension/Dockerfile-build-env
View file @
bde63532
FROM gradle:6-jdk8
RUN apt-get update && apt install -y openjdk-17-jdk maven
RUN apt-get update && apt install -y openjdk-17-jdk
# Installing the latest Maven version manually
# (the one provided by apt is not compatible with Java 17 and we need Java 14+)
RUN wget https://dlcdn.apache.org/maven/maven-3/3.8.4/binaries/apache-maven-3.8.4-bin.tar.gz && \
mkdir -p /usr/local/apache-maven && \
mv apache-maven-3.8.4-bin.tar.gz /usr/local/apache-maven && \
cd /usr/local/apache-maven && \
tar -xzvf apache-maven-3.8.4-bin.tar.gz
ENV M2_HOME=/usr/local/apache-maven/apache-maven-3.8.4
ENV M2=$M2_HOME/bin
ENV PATH=$M2:$PATH
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment