This is an automated email from the ASF dual-hosted git repository.
damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 60d397ecfbd adds maven to image (#28348)
60d397ecfbd is described below
commit 60d397ecfbd2b10a1929615c70d500eb71a2c053
Author: Vlado Djerek <[email protected]>
AuthorDate: Thu Sep 7 15:49:48 2023 +0200
adds maven to image (#28348)
---
.github/gh-actions-self-hosted-runners/arc/images/Dockerfile | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile
b/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile
index 951bd504920..41f8061d44a 100644
--- a/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile
+++ b/.github/gh-actions-self-hosted-runners/arc/images/Dockerfile
@@ -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