1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00
cdt/docker/build-images.sh
Jonah Graham dfdc174b6d Update and refactor Dockerfiles to newer Ubuntu
The docker images all have new, simpler names and use Ubuntu 20.04
(instead of 18.04) as their base.

A few new tools have been added, specifically what is needed for:

- Linux on RISC-V - see #980
- Winodows on ARM - see #969

Fixes #976
2024-12-28 10:48:30 -05:00

15 lines
694 B
Bash
Executable file

#!/usr/bin/env bash
set -eux
# Xcode_13.1.xip is needed to build the OSx cross compiler image from https://developer.apple.com/download/all/?q=xcode
# As an optimization for the rebuild times, the image is only built if the xip is present.
if [ -f Xcode_13.1.xip ]; then
docker build --rm --build-arg Xcodexip=Xcode_13.1.xip -f cdt-infra-build-macos-sdk/Dockerfile -t cdt-infra-build-macos-sdk:latest .
else
echo "MacOSX SDK & Toolchain build is being skipped"
fi
docker build --rm -f cdt-infra/Dockerfile -t cdt-infra:latest .
docker build --rm -f cdt-infra-github/Dockerfile -t cdt-infra-github:latest .
docker build --rm -f cdt-infra-jipp/Dockerfile -t cdt-infra-jipp:latest .