summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Christen <Orbiter@users.noreply.github.com>2023-03-06 18:21:10 +0100
committerGitHub <noreply@github.com>2023-03-06 18:21:10 +0100
commit552dff19d790ba7c151f9a73e663183bca5ca762 (patch)
tree732388e32cb7752f9329e8cbbd5800fb2d0e68fc
parent84c797f53dc9a32acd68508b515bda6b40aa6ff0 (diff)
parent2aa3181e7fc20e265faef785941ba296df52e259 (diff)
Merge pull request #567 from frankenstein91/archLinuxDocker
Arch linux docker
-rw-r--r--docker/Dockerfile.ArchLinux6
1 files changed, 4 insertions, 2 deletions
diff --git a/docker/Dockerfile.ArchLinux b/docker/Dockerfile.ArchLinux
index 5b5dcc965..e1b637587 100644
--- a/docker/Dockerfile.ArchLinux
+++ b/docker/Dockerfile.ArchLinux
@@ -1,7 +1,7 @@
FROM archlinux:latest
# update the system and clean up
RUN pacman -Syu --noconfirm && pacman -Scc --noconfirm
-RUN pacman -Sy java-runtime-common --noconfirm && pacman -Scc --noconfirm
+RUN pacman -Sy java-runtime-common wget --noconfirm && pacman -Scc --noconfirm
# download latest version of graalvm and move it to /lib/jvm/java-{javaversion}-graalvm
RUN bash <(curl -sL https://get.graalvm.org/jdk) --no-progress && \
JAVAVERSION=$(ls ./ | grep graalvm | cut -d'-' -f3 | sed 's/java//g') && \
@@ -12,11 +12,13 @@ ENV PATH="/usr/lib/jvm/default/bin:${PATH}"
# set the JAVA_HOME variable
ENV JAVA_HOME="/usr/lib/jvm/default"
WORKDIR /opt
-RUN curl "https://downloads.apache.org/ant/source/apache-ant-1.10.12-src.tar.gz" --output ant-src.tar.gz && \
+RUN curl "https://downloads.apache.org/ant/source/apache-ant-1.10.13-src.tar.gz" --output ant-src.tar.gz && \
tar -xzf ant-src.tar.gz && \
rm ant-src.tar.gz && \
mv apache-ant-* ant-src && \
cd ant-src && \
+wget -O fetch.xml "https://raw.githubusercontent.com/apache/ant/541a1d2448af3e95134f79a970a608403deab00a/fetch.xml" && \
+wget -O lib/libraries.properties "https://raw.githubusercontent.com/apache/ant/541a1d2448af3e95134f79a970a608403deab00a/lib/libraries.properties" && \
mkdir /opt/ant && \
sh build.sh -f fetch.xml -Ddest=optional && \
sh build.sh -Ddist.dir=/opt/ant dist && \