mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-22 02:50:04 -05:00
Update maven to 3.9.10
This commit is contained in:
@@ -85,9 +85,9 @@ jobs:
|
||||
- name: Install Maven
|
||||
working-directory: ./.ci_bin
|
||||
run: |
|
||||
curl -LO https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz
|
||||
tar -xf apache-maven-3.9.9-bin.tar.gz
|
||||
echo "$(pwd)/apache-maven-3.9.9/bin" >> $GITHUB_PATH
|
||||
curl -LO https://dlcdn.apache.org/maven/maven-3/3.9.10/binaries/apache-maven-3.9.10-bin.tar.gz
|
||||
tar -xf apache-maven-3.9.10-bin.tar.gz
|
||||
echo "$(pwd)/apache-maven-3.9.10/bin" >> $GITHUB_PATH
|
||||
- name: Install Hadoop
|
||||
working-directory: ./.ci_bin
|
||||
run: |
|
||||
|
||||
@@ -78,9 +78,9 @@ jobs:
|
||||
if: ${{ env.use_credentials != 'true' }}
|
||||
working-directory: ./.ci_bin
|
||||
run: |
|
||||
curl -LO https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz
|
||||
tar -xf apache-maven-3.9.9-bin.tar.gz
|
||||
echo "$(pwd)/apache-maven-3.9.9/bin" >> $GITHUB_PATH
|
||||
curl -LO https://dlcdn.apache.org/maven/maven-3/3.9.10/binaries/apache-maven-3.9.10-bin.tar.gz
|
||||
tar -xf apache-maven-3.9.10-bin.tar.gz
|
||||
echo "$(pwd)/apache-maven-3.9.10/bin" >> $GITHUB_PATH
|
||||
- name: Install Hadoop
|
||||
if: ${{ env.use_credentials != 'true' }}
|
||||
working-directory: ./.ci_bin
|
||||
|
||||
@@ -91,9 +91,9 @@ jobs:
|
||||
- name: Install Maven
|
||||
working-directory: ./.ci_bin
|
||||
run: |
|
||||
curl -LO https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz
|
||||
tar -xf apache-maven-3.9.9-bin.tar.gz
|
||||
echo "$(pwd)/apache-maven-3.9.9/bin" >> $GITHUB_PATH
|
||||
curl -LO https://dlcdn.apache.org/maven/maven-3/3.9.10/binaries/apache-maven-3.9.10-bin.tar.gz
|
||||
tar -xf apache-maven-3.9.10-bin.tar.gz
|
||||
echo "$(pwd)/apache-maven-3.9.10/bin" >> $GITHUB_PATH
|
||||
- name: Install Hadoop
|
||||
working-directory: ./.ci_bin
|
||||
run: |
|
||||
|
||||
@@ -4,23 +4,23 @@ FROM --platform=${BUILDPLATFORM} ubuntu:20.04
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt update -y && \
|
||||
apt install -y \
|
||||
curl \
|
||||
gnupg \
|
||||
software-properties-common && \
|
||||
curl \
|
||||
gnupg \
|
||||
software-properties-common && \
|
||||
curl -sL https://deb.nodesource.com/setup_22.x | bash -
|
||||
RUN apt update -y && \
|
||||
apt install -y \
|
||||
nodejs \
|
||||
python3.9 \
|
||||
python3-pip \
|
||||
git \
|
||||
mysql-client \
|
||||
libmysqlclient-dev \
|
||||
# weird issue: installing openjdk-17-jdk errors if `maven` or possibly any other package is not installed after it
|
||||
openjdk-17-jdk \
|
||||
# currently, `apt install maven` installs v3.6.0 which does not work with openjdk-17-jdk
|
||||
maven \
|
||||
bats && \
|
||||
nodejs \
|
||||
python3.9 \
|
||||
python3-pip \
|
||||
git \
|
||||
mysql-client \
|
||||
libmysqlclient-dev \
|
||||
# weird issue: installing openjdk-17-jdk errors if `maven` or possibly any other package is not installed after it
|
||||
openjdk-17-jdk \
|
||||
# currently, `apt install maven` installs v3.6.0 which does not work with openjdk-17-jdk
|
||||
maven \
|
||||
bats && \
|
||||
update-ca-certificates -f
|
||||
|
||||
# install go
|
||||
@@ -42,14 +42,14 @@ RUN pip3 install mysql-connector-python PyMySQL sqlalchemy
|
||||
# Setup JAVA_HOME -- useful for docker commandline
|
||||
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/
|
||||
|
||||
# install the current latest maven version, `v3.9.9`, because apt installed one does not work with jdk 17
|
||||
ADD https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz apache-maven-3.9.9-bin.tar.gz
|
||||
RUN tar zxvf apache-maven-3.9.9-bin.tar.gz && \
|
||||
cp -r apache-maven-3.9.9 /opt && \
|
||||
rm -rf apache-maven-3.9.9 apache-maven-3.9.9-bin.tar.gz
|
||||
# install the current latest maven version, `v3.9.10`, because apt installed one does not work with jdk 17
|
||||
ADD https://dlcdn.apache.org/maven/maven-3/3.9.10/binaries/apache-maven-3.9.10-bin.tar.gz apache-maven-3.9.10-bin.tar.gz
|
||||
RUN tar zxvf apache-maven-3.9.10-bin.tar.gz && \
|
||||
cp -r apache-maven-3.9.10 /opt && \
|
||||
rm -rf apache-maven-3.9.10 apache-maven-3.9.10-bin.tar.gz
|
||||
|
||||
# add maven binary
|
||||
ENV PATH=/opt/apache-maven-3.9.9/bin:$PATH
|
||||
ENV PATH=/opt/apache-maven-3.9.10/bin:$PATH
|
||||
|
||||
# install dolt from source
|
||||
WORKDIR /root/building
|
||||
|
||||
Reference in New Issue
Block a user