File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 4545 cp -f ~ /.m2/settings.xml .
4646fi
4747
48+ docker build \
49+ -f tools/Dockerfile.release \
50+ -t tensorflow-java:latest \
51+ --platform linux/amd64 \
52+ .
53+
4854docker run \
4955 -e GPG_TTY=" ${GPG_TTY} " \
5056 -v ${PWD} :/tensorflow-java \
5157 -v ${HOME} /.gnupg:/root/.gnupg \
5258 -w /tensorflow-java \
5359 -it \
5460 --platform linux/amd64 \
55- maven:3.8.6-jdk-11 \
61+ tensorflow-java:latest \
5662 ${CMD}
5763
5864echo
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