File tree 2 files changed +14
-1
lines changed
2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 45
45
cp -f ~ /.m2/settings.xml .
46
46
fi
47
47
48
+ docker build \
49
+ -f tools/Dockerfile.release \
50
+ -t tensorflow-java:latest \
51
+ --platform linux/amd64 \
52
+ .
53
+
48
54
docker run \
49
55
-e GPG_TTY=" ${GPG_TTY} " \
50
56
-v ${PWD} :/tensorflow-java \
51
57
-v ${HOME} /.gnupg:/root/.gnupg \
52
58
-w /tensorflow-java \
53
59
-it \
54
60
--platform linux/amd64 \
55
- maven:3.8.6-jdk-11 \
61
+ tensorflow-java:latest \
56
62
${CMD}
57
63
58
64
echo
Original file line number Diff line number Diff line change
1
+ FROM maven:3.8.6-jdk-11
2
+
3
+ WORKDIR /root
4
+ RUN curl -L https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.13%2B11/OpenJDK17U-jdk_x64_linux_hotspot_17.0.13_11.tar.gz -o openjdk-17.tar.gz
5
+ RUN tar zxvf openjdk-17.tar.gz
6
+ ENV JAVA_HOME /root/jdk-17.0.13+11/
7
+
You can’t perform that action at this time.
0 commit comments