summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-02-18 11:01:26 -0700
committermo khan <mo.khan@gmail.com>2020-02-18 11:01:26 -0700
commit90e68a0a0c6fa0a7df09a36b168c725faf58b6f9 (patch)
treed194b455893352ae3a01ada07a6b569684e9f854
parentf2c615a310e7280c018e879836ded13f28c5c22b (diff)
Revert Dockerfile change
-rw-r--r--Dockerfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index fdaf108..0cda3fd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,13 @@
-FROM licensefinder/license_finder:6.0.0
+FROM licensefinder/license_finder:5.11.1
ENV PATH="${PATH}:/root/.asdf/shims:/root/.asdf/bin"
ENV LM_HOME=/opt/license-management
ENV LM_PYTHON_VERSION 3
ENV LM_REPORT_VERSION ${LM_REPORT_VERSION:-2}
+RUN cd /tmp && \
+ wget --quiet --no-cookies https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.5%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.5_10.tar.gz -O jdk-11.tgz && \
+ tar xf /tmp/jdk-11.tgz && \
+ mv jdk-11.0.5+10 /usr/lib/jvm/adoptopen_jdk11 && \
+ rm /tmp/jdk-11.tgz
RUN npm install npm-install-peers
# Don't let Rubygem fail with the numerous projects using PG or MySQL,