Skip to content

Commit

Permalink
adds maven to image (#28348)
Browse files Browse the repository at this point in the history
  • Loading branch information
volatilemolotov committed Sep 7, 2023
1 parent 70e2957 commit 60d397e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/gh-actions-self-hosted-runners/arc/images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ RUN curl -OL https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-c
#revert permission
chown -R runner:runner /home/runner/.config
ENV PATH="${PATH}:/usr/local/google-cloud-sdk/bin"
#Install Apache Maven
RUN curl -OL https://dlcdn.apache.org/maven/maven-3/3.9.4/binaries/apache-maven-3.9.4-bin.tar.gz && \
tar -xvf apache-maven-3.9.4-bin.tar.gz && \
rm apache-maven-3.9.4-bin.tar.gz && \
mv apache-maven-3.9.4 /usr/local/maven
ENV PATH="${PATH}:/usr/local/maven/bin"
ENV MAVEN_HOME="/usr/local/maven"

# Needed to transfer path addtitions to runner environment
RUN echo PATH=$PATH >> /runnertmp/.env
Expand Down

0 comments on commit 60d397e

Please sign in to comment.