You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM arm32v7/openjdk:8-jdk-alpine
COPY bin/ /usr/bin/
RUN [ "cross-build-start" ]
ARG JAVA=/usr/lib/jvm/java-1.8-openjdk/bin/java
RUN ls -la $JAVA
RUN ldd $JAVA
RUN $JAVA -version
Output
xander@debian:~/jenkins$ docker build -f Dockerfile.test .
Sending build context to Docker daemon 9.67MB
Step 1/7 : FROM arm32v7/openjdk:8-jdk-alpine
---> d8c7d7d53e33
Step 2/7 : COPY bin/ /usr/bin/
---> 39a68ff390fa
Step 3/7 : RUN [ "cross-build-start" ]
---> Running in 628d7d0cf015
Removing intermediate container 628d7d0cf015
---> 3aa4eb70d081
Step 4/7 : ARG JAVA=/usr/lib/jvm/java-1.8-openjdk/bin/java
---> Running in 84c51d739806
Removing intermediate container 84c51d739806
---> 5dc5e28291f9
Step 5/7 : RUN ls -la $JAVA
---> Running in 7c82e93a8bab
-rwxr-xr-x 1 root root 5476 May 4 23:12 /usr/lib/jvm/java-1.8-openjdk/bin/java
Removing intermediate container 7c82e93a8bab
---> 39660b85b8a7
Step 6/7 : RUN ldd $JAVA
---> Running in de599b6ea630
/lib/ld-musl-armhf.so.1 (0x40000000)
libjli.so => /usr/lib/jvm/java-1.8-openjdk/bin/../lib/aarch32/jli/libjli.so (0x40899000)
libc.musl-armv7.so.1 => /lib/ld-musl-armhf.so.1 (0x40000000)
libz.so.1 => /lib/libz.so.1 (0x408b4000)
Removing intermediate container de599b6ea630
---> 4a89765f7c82
Step 7/7 : RUN $JAVA -version
**---> Running in bc77e7e5e4c3
^C**
It hangs on the last step. If I comment cross-build-start line and run it on armhf device, so it works fine. Do anyone have some ideas?
The text was updated successfully, but these errors were encountered:
Hi there!
Let me attach contents of my Dockerfile sample
Output
It hangs on the last step. If I comment cross-build-start line and run it on armhf device, so it works fine. Do anyone have some ideas?
The text was updated successfully, but these errors were encountered: