Skip to content

Commit

Permalink
Update Java JDK version
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer Wilson <[email protected]>
  • Loading branch information
SWilson4 committed Jan 23, 2025
1 parent 775c09c commit 4e069c6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ubuntu-latest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN DEBIAN_FRONTEND=noninteractive TZ=Europe/Zurich && \
clang-format \
clang-tools \
cmake \
default-jdk-headless \
docker.io \
gcc \
gcc-mingw-w64 \
Expand All @@ -59,7 +60,6 @@ RUN DEBIAN_FRONTEND=noninteractive TZ=Europe/Zurich && \
python3-jinja2 \
zlib1g-dev \
maven \
openjdk-11-jdk \
valgrind \
flex bison \
lsb-release software-properties-common \
Expand Down Expand Up @@ -92,5 +92,8 @@ RUN if [ "$ARCH" = "x86_64" ]; then \
echo cuPQC_DIR="/cupqc/cupqc/cupqc-pkg-0.2.0/cmake/" >> .bashrc; \
fi

# set JAVA_HOME for liboqs-java builds
ENV JAVA_HOME="/usr/lib/jvm/default-java"

# Activate if we want to test specific OpenSSL3 versions:
# RUN cd /root && git clone --depth 1 --branch openssl-3.0.7 https://github.com/openssl/openssl.git && cd openssl && LDFLAGS="-Wl,-rpath -Wl,/usr/local/openssl3/lib64" ./config --prefix=/usr/local/openssl3 && make -j && make install
# RUN cd /root && git clone --depth 1 --branch openssl-3.0.7 https://github.com/openssl/openssl.git && cd openssl && LDFLAGS="-Wl,-rpath -Wl,/usr/local/openssl3/lib64" ./config --prefix=/usr/local/openssl3 && make -j && make install

0 comments on commit 4e069c6

Please sign in to comment.