We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 424e54a commit a86256aCopy full SHA for a86256a
1 file changed
containers/baskerville_dashboard/backend/Dockerfile
@@ -1,4 +1,6 @@
1
+FROM openjdk:8
2
FROM python:3.6
3
+
4
ARG BASKERVILLE_BRANCH
5
ARG DASHBOARD_BRANCH
6
@@ -8,6 +10,14 @@ ENV REDIS_HOST 'redis'
8
10
# TODO: The following installs spark-iforest, esretriever and baskerville
9
11
# which takes a long time - mostly because of the different pyspark versions.
12
13
+# Get jdk8 from previous stage https://docs.docker.com/develop/develop-images/multistage-build/
14
+COPY --from=openjdk:8 /usr/local/openjdk-8 /usr/local/openjdk-8
15
16
+# Set java path
17
+ENV JAVA_HOME /usr/local/openjdk-8
18
+ENV PATH $PATH:$JAVA_HOME/bin
19
20
21
RUN apt-get update \
22
&& apt-get -y upgrade \
23
&& apt-get install git \
0 commit comments