root 3 years ago
parent
commit
27defd0bcf
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Dockerfile

+ 4 - 0
Dockerfile

@@ -1 +1,5 @@
 FROM hub.evbj.easou.com/oldad/mis:v1.0.0
+
+RUN echo "JAVA_HOME=/usr/java/jdk1.8.0_271" >> /etc/profile \
+    && echo "export PATH=$JAVA_HOME/bin:$PATH" >> /etc/profile \
+    && source /etc/profile