Updating Dockerfile to build the app from the ground up

This commit is contained in:
Sean McIlvenna
2019-12-09 16:25:46 -08:00
parent dd299100bf
commit fd065edb0e
3 changed files with 33 additions and 16 deletions

13
Dockerfile.base Normal file
View File

@@ -0,0 +1,13 @@
FROM ubuntu
ENV PATH="/tmp/apache-maven-3.6.0/bin:${PATH}"
WORKDIR /tmp
RUN apt-get update && \
apt-get install git -y && \
apt-get install sed -y && \
apt-get install wget -y && \
apt-get install openjdk-11-jdk -y
RUN wget https://www-us.apache.org/dist/maven/maven-3/3.6.2/binaries/apache-maven-3.6.2-bin.tar.gz && tar xzf apache-maven-3.6.2-bin.tar.gz
RUN export PATH=/tmp/apache-maven-3.6.2/bin:${PATH}