Skip to content

Commit 11fde97

Browse files
committed
Change base Docker image to Debian Stretch to accommodate Julia binaries
1 parent 89fb6bd commit 11fde97

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
FROM openjdk:8-jdk-alpine
1+
FROM openjdk:8-jdk-stretch
22

33
# Download hadoop
44
WORKDIR /opt
5-
RUN apk add bash curl maven python
5+
RUN apt-get update
6+
RUN apt-get install -y bash curl maven python
67
RUN curl -L 'http://archive.apache.org/dist/hadoop/core/hadoop-2.6.0/hadoop-2.6.0.tar.gz' | tar -xz
8+
RUN curl -L 'https://julialang-s3.julialang.org/bin/linux/x64/1.1/julia-1.1.1-linux-x86_64.tar.gz' | tar -xz
79

810
# Copy the project
911
COPY . /opt/ldbc_snb_datagen
@@ -14,4 +16,6 @@ RUN rm params*.ini
1416
RUN mvn -DskipTests clean assembly:assembly
1517

1618
ENV HADOOP_CLIENT_OPTS '-Xmx8G'
19+
ENV PATH "/opt/julia-1.1.1/bin:${PATH}"
1720
CMD /opt/ldbc_snb_datagen/docker_run.sh
21+
CMD julia -e 1+1

0 commit comments

Comments
 (0)