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
cfcf5233
Commit
cfcf5233
authored
Dec 01, 2021
by
Sonia Zorba
Browse files
Updated Maven version
parent
4d02897f
Pipeline
#8758
failed with stages
in 48 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
private-rows-extension/Dockerfile-build-env
View file @
cfcf5233
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
RUN export M2_HOME=/usr/local/apache-maven/apache-maven-3.8.4
RUN export M2=$M2_HOME/bin
RUN export 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