Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyouyangying authored Feb 2, 2024
1 parent 0d1116a commit 1708e4a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dev/docker-build/centos7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ RUN yum install -y java-1.8.0-openjdk java-1.8.0-openjdk-devel
RUN echo 'export JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk"' >> ~/.bashrc

# install maven
RUN yum install -y rh-maven35
RUN echo 'source /opt/rh/rh-maven35/enable' >> ~/.bashrc

#RUN yum install -y maven
#RUN echo 'source /opt/rh/rh-maven35/enable' >> ~/.bashrc
RUN cd /opt/ && wget https://archive.apache.org/dist/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz && tar –xvf apache-maven-3.6.1-bin.tar.gz
RUN echo 'export PATH="$PATH:/opt/apache-maven-3.6.1/bin"' >> ~/.bashrc
# install protoc
RUN wget -O /protobuf-21.7-linux-x86_64.zip https://github.com/protocolbuffers/protobuf/releases/download/v21.7/protoc-21.7-linux-x86_64.zip
RUN mkdir /protobuf-bin && (cd /protobuf-bin && unzip /protobuf-21.7-linux-x86_64.zip)
Expand Down

0 comments on commit 1708e4a

Please sign in to comment.