set platforms

This commit is contained in:
Patrick Schratz 2024-07-06 17:15:18 +02:00
commit 50ea8b98ce
Signed by: pat-s
GPG key ID: 3C6318841EF78925
2 changed files with 4 additions and 2 deletions

View file

@ -56,7 +56,8 @@ steps:
environment:
DOCKER_HOST: tcp://docker:2375
commands: |
docker --version
docker info
docker buildx create --name mybuilder --use
if [ ! -s r_build_latest.txt ] || [ ! "$(cat r-release-version.txt)" = "$(cat r_build_latest.txt)" ]; then
apk add -q --no-cache py3-pip make just aws-cli docker-compose
pip3 install -q b2 --break-system-packages

View file

@ -96,13 +96,14 @@ services:
volumes:
- /tmp/centos-8:/tmp/output/centos-8
rhel-9:
platform: linux/arm64/v8
command: ./build.sh
environment:
- R_VERSION=${R_VERSION}
- R_INSTALL_PATH=${R_INSTALL_PATH}
- LOCAL_STORE=/tmp/output
build:
platforms:
- "linux/amd64"
context: .
dockerfile: Dockerfile.rhel-9
image: r-builds:rhel-9