-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JBR-7511 migrate build platforms to OL8
- remove Vulcan part that causing builds to fail - modify scripts for building images from Oracle Linux 8 - update jb/build/VerifyDependencies.java to check libraries have no dependency on symbols from glibc version higher than 2.28 - rename Ubuntu2004 docker files - upgrade wayland up to wayland-devel-1.21.0-1
- Loading branch information
Showing
7 changed files
with
124 additions
and
126 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# NOTE: This Dockerfile is meant to be used from the mkdocker_aarch64.sh script. | ||
|
||
# Pull a concrete version of Linux that does NOT recieve updates after it's | ||
# been created. This is so that the image is as stable as possible to make | ||
# image creation reproducible. | ||
# NB: this also means there may be no security-related fixes there, need to | ||
# move the version to the next manually. | ||
|
||
FROM arm64v8/oraclelinux:8 | ||
|
||
# Install the necessary build tools | ||
RUN yum -y update; \ | ||
yum -y install gcc-toolset-10-10.1-0.el8.aarch64; \ | ||
yum -y install \ | ||
alsa-lib-devel-1.1.9-4.el8.aarch64 \ | ||
autoconf-2.69-29.el8_10.1.noarch \ | ||
automake-1.16.1-6.el8.noarch \ | ||
bzip2-libs-1.0.6-26.el8.aarch64 \ | ||
cups-devel-2.2.6-60.el8_10.aarch64 \ | ||
file-5.33-26.el8.aarch64 \ | ||
fontconfig-devel-2.13.1-4.el8.aarch64 \ | ||
freetype-devel-2.9.1-9.el8.aarch64 \ | ||
gcc-c++-8.5.0-22.0.1.el8_10.aarch64 \ | ||
git-2.43.5-1.el8_10.aarch64 \ | ||
git-core-2.43.5-1.el8_10.aarch64 \ | ||
libtool-2.4.6-25.el8.aarch64 \ | ||
libXi-devel-1.7.10-1.el8.aarch64 \ | ||
libXrandr-devel-1.5.2-1.el8.aarch64 \ | ||
libXrender-devel-0.9.10-7.el8.aarch64 \ | ||
libXt-devel-1.1.5-12.el8.aarch64 \ | ||
libXtst-devel-1.2.3-7.el8.aarch64 \ | ||
make-devel-4.2.1-11.el8.aarch64 \ | ||
rsync-3.1.3-19.el8_7.1.aarch64 \ | ||
unzip-6.0-46.el8.aarch64 \ | ||
wayland-devel-1.21.0-1.el8.aarch64; \ | ||
yum -y clean all | ||
|
||
RUN git config --global user.email "[email protected]" && \ | ||
git config --global user.name "builduser" | ||
|
||
ENV PATH="/opt/rh/devtoolset-10/root/usr/bin:${PATH}" | ||
ENV LD_LIBRARY_PATH="/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib" | ||
ENV PKG_CONFIG_PATH="/opt/rh/devtoolset-10/root/usr/lib64/pkgconfig" | ||
|
||
This comment has been minimized.
Sorry, something went wrong. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# NOTE: This Dockerfile is meant to be used from the mkdocker_x86_64.sh script. | ||
|
||
# Pull a concrete version of Linux that does NOT recieve updates after it's | ||
# been created. This is so that the image is as stable as possible to make | ||
# image creation reproducible. | ||
# NB: this also means there may be no security-related fixes there, need to | ||
# move the version to the next manually. | ||
|
||
FROM amd64/oraclelinux:8 | ||
|
||
# Install the necessary build tools | ||
RUN yum -y update; \ | ||
yum -y install gcc-toolset-10-10.1-0.el8.x86_64; \ | ||
yum -y install \ | ||
alsa-lib-devel-1.1.9-4.el8.x86_64 \ | ||
autoconf-2.69-29.el8_10.1.noarch \ | ||
automake-1.16.1-6.el8.noarch \ | ||
bzip2-libs-1.0.6-26.el8.x86_64 \ | ||
cups-devel-2.2.6-60.el8_10.x86_64 \ | ||
file-5.33-26.el8.x86_64 \ | ||
fontconfig-devel-2.13.1-4.el8.x86_64 \ | ||
freetype-devel-2.9.1-9.el8.x86_64 \ | ||
gcc-c++-8.5.0-22.0.1.el8_10.x86_64 \ | ||
git-2.43.5-1.el8_10.x86_64 \ | ||
git-core-2.43.5-1.el8_10.x86_64 \ | ||
libtool-2.4.6-25.el8.x86_64 \ | ||
libXi-devel-1.7.10-1.el8.x86_64 \ | ||
libXrandr-devel-1.5.2-1.el8.x86_64 \ | ||
libXrender-devel-0.9.10-7.el8.x86_64 \ | ||
libXt-devel-1.1.5-12.el8.x86_64 \ | ||
libXtst-devel-1.2.3-7.el8.x86_64 \ | ||
make-devel-4.2.1-11.el8.x86_64 \ | ||
rsync-3.1.3-19.el8_7.1.x86_64 \ | ||
unzip-6.0-46.el8.x86_64 \ | ||
wayland-devel-1.21.0-1.el8.x86_64 \ | ||
python36-3.6.8-39.module+el8.10.0+90274+07ba55de; \ | ||
yum -y clean all | ||
|
||
RUN git config --global user.email "[email protected]" && \ | ||
git config --global user.name "builduser" && \ | ||
git config --global --add safe.directory '*' | ||
|
||
ENV PATH="/opt/rh/devtoolset-10/root/usr/bin:${PATH}" | ||
ENV LD_LIBRARY_PATH="/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib" | ||
ENV PKG_CONFIG_PATH="/opt/rh/devtoolset-10/root/usr/lib64/pkgconfig" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
set -x | ||
|
||
# This script creates a Docker image suitable for building x86-64 variant | ||
|
||
BOOT_JDK_REMOTE_FILE=zulu21.36.17-ca-jdk21.0.4-linux_x64.tar.gz | ||
BOOT_JDK_SHA=318d0c2ed3c876fb7ea2c952945cdcf7decfb5264ca51aece159e635ac53d544 | ||
BOOT_JDK_LOCAL_FILE=boot_jdk.tar.gz | ||
|
||
if [ ! -f $BOOT_JDK_LOCAL_FILE ]; then | ||
# Obtain "boot JDK" from outside of the container. | ||
wget -nc https://cdn.azul.com/zulu/bin/${BOOT_JDK_REMOTE_FILE} -O $BOOT_JDK_LOCAL_FILE | ||
else | ||
echo "boot JDK \"$BOOT_JDK_LOCAL_FILE\" present, skipping download" | ||
fi | ||
|
||
# Verify that what we've downloaded can be trusted. | ||
sha256sum -c - <<EOF | ||
$BOOT_JDK_SHA *$BOOT_JDK_LOCAL_FILE | ||
EOF | ||
|
||
docker build -t jetbrains/runtime:jbr21env_oraclelinux8_amd64 -f Dockerfile.oraclelinux_x86_64 . | ||
|
||
# NB: the resulting container can (and should) be used without the network | ||
# connection (--network none) during build in order to reduce the chance | ||
# of build contamination. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`Ll```