Fall 2024 recompile of the natives (#1416)
This time around, instead of the very ad hoc approach I have historically taken, this time we actually have a convenient script that takes care of basically all the hard work necessary, including cross-compilation. We compile natives for Ubuntu 20.04 LTS (OpenSSL 1.1.x native and libdeflate) and Ubuntu 22.04 LTS (OpenSSL 3.x.x native), for both x86_64 and aarch64. The macOS natives have also been recompiled on macOS Sonoma.
This commit is contained in:
19
native/build-support/ubuntu-jammy.Dockerfile
Normal file
19
native/build-support/ubuntu-jammy.Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
# Use the official Eclipse Temurin 17.0.12_7-jdk-jammy image as the base image.
|
||||
# We compile for Ubuntu Jammy Jellyfish (22.04 LTS) as it supports OpenSSL 3.0.
|
||||
FROM eclipse-temurin:17.0.12_7-jdk-jammy
|
||||
|
||||
# Install required dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
libssl-dev \
|
||||
curl \
|
||||
git \
|
||||
unzip \
|
||||
build-essential \
|
||||
cmake \
|
||||
openssl \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& apt-get clean
|
||||
|
||||
# Create a non-root user
|
||||
RUN useradd -m -s /bin/bash -u 1000 -U user
|
||||
USER user
|
Reference in New Issue
Block a user