Commit a688e74b authored by mathieu's avatar mathieu

Add the oracle dockerfile

parent c006d8d5
FROM ubuntu:18.04
LABEL maintainer="[email protected]" \
version="1.0" \
description="Docker image to contain UBUBI front end"
EXPOSE 9000/tcp
RUN mkdir -p /tmp/java8
RUN mkdir -p /usr/lib/jvm/
ADD java/jdk-8u221-linux-x64.tar.gz /tmp
ADD java/jdk.jinfo /usr/lib/jvm/.jdk1.8.0_221-amd64.jinfo
ADD java/ /tmp/
RUN mv /tmp/jdk1.8.0_221 /usr/lib/jvm/java-8-oracle-amd64
RUN ln -s /usr/lib/jvm/java-8-oracle-amd64 /usr/lib/jvm/jdk1.8.0_221-amd64
RUN chmod 700 /tmp/
RUN sh /tmp/
RUN mkdir -p /usr/src/myapp
WORKDIR /usr/src/myapp
VOLUME /usr/src/myapp
ENTRYPOINT ["./bin/start"]
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment