-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·24 lines (20 loc) · 864 Bytes
/
Dockerfile
File metadata and controls
executable file
·24 lines (20 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM oracle/graalvm-ce:19.3.1-java11
ENV MVN_VERSION 3.6.3
ENV M2_HOME /opt/maven
ENV MAVEN_HOME /opt/maven
ENV JAVA_HOME /opt/graalvm-ce-java11-19.3.1
ENV GRAALVM_HOME ${JAVA_HOME}
ENV PATH ${JAVA_HOME}/bin:${M2_HOME}/bin:${PATH}
RUN ${GRAALVM_HOME}/bin/gu install python \
&& ${GRAALVM_HOME}/bin/gu install R \
&& ${GRAALVM_HOME}/bin/gu install ruby
# && ${GRAALVM_HOME}/bin/gu install native-image
RUN curl -sL https://www-us.apache.org/dist/maven/maven-3/${MVN_VERSION}/binaries/apache-maven-${MVN_VERSION}-bin.tar.gz | /bin/tar xz -C /opt/ \
&& ln -s /opt/apache-maven-${MVN_VERSION} /opt/maven \
&& echo "mvn clean" >> ~/.bash_history \
&& echo "mvn clean package -Pnative" >> ~/.bash_history \
&& echo "mvn package -Pnative" >> ~/.bash_history \
&& echo "mvn compile quarkus:dev" >> ~/.bash_history
WORKDIR /project
VOLUME /project
CMD /bin/bash