Skip to content

Commit 12228ae

Browse files
committed
Create jdk9cross directory before downloading JDK
1 parent efb99d4 commit 12228ae

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

build/Dockerfile.scripts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
FROM ev3dev-lang-java:jdk9-system
22

33
# copy build patches & scripts
4-
RUN mkdir /opt/jdkcross
54
COPY *.patch *.sh /opt/jdkcross/
65
RUN chmod +x /opt/jdkcross/*.sh
76

build/Dockerfile.system

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ RUN dpkg --add-architecture armel && \
5050
zlib1g-dev
5151

5252
# download JDK 9
53+
RUN mkdir /opt/jdkcross
5354
RUN curl -SL http://download.java.net/java/GA/jdk9/9.0.1/binaries/openjdk-9.0.1_linux-x64_bin.tar.gz | tar -xzC /opt/jdkcross
5455

5556
# prepare a nonroot user

0 commit comments

Comments
 (0)