set platforms
This commit is contained in:
parent
76bc8d0a6d
commit
50ea8b98ce
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue