Commit d5676d96 authored by anderson's avatar anderson

Update Dockerfile-pro

parent ed6d3c41
......@@ -16,8 +16,7 @@ RUN update-rc.d nginx remove; \
nginx -v; \
pip install boto requests pillow 'moviepy<1.0.0' pylibmc django-pylibmc
RUN mkdir /usr/local/oracle-java-8; wget --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" \
https://download.oracle.com/otn-pub/java/jdk/8u201-b09/42970487e3af4f5aa5bca3f542482c60/jdk-8u201-linux-x64.tar.gz \
RUN mkdir /usr/local/oracle-java-8; wget https://github.com/frekele/oracle-java/releases/download/8u212-b10/jdk-8u212-linux-x64.tar.gz \
-O - | tar xzf - --strip-components=1 -C /usr/local/oracle-java-8; ls -l /usr/local/oracle-java-8; \
update-alternatives --install "/usr/bin/java" "java" "/usr/local/oracle-java-8/bin/java" 1500; \
update-alternatives --install "/usr/bin/javac" "javac" "/usr/local/oracle-java-8/bin/javac" 1500; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment