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:
|
environment:
|
||||||
DOCKER_HOST: tcp://docker:2375
|
DOCKER_HOST: tcp://docker:2375
|
||||||
commands: |
|
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
|
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
|
apk add -q --no-cache py3-pip make just aws-cli docker-compose
|
||||||
pip3 install -q b2 --break-system-packages
|
pip3 install -q b2 --break-system-packages
|
||||||
|
|
|
||||||
|
|
@ -96,13 +96,14 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/centos-8:/tmp/output/centos-8
|
- /tmp/centos-8:/tmp/output/centos-8
|
||||||
rhel-9:
|
rhel-9:
|
||||||
platform: linux/arm64/v8
|
|
||||||
command: ./build.sh
|
command: ./build.sh
|
||||||
environment:
|
environment:
|
||||||
- R_VERSION=${R_VERSION}
|
- R_VERSION=${R_VERSION}
|
||||||
- R_INSTALL_PATH=${R_INSTALL_PATH}
|
- R_INSTALL_PATH=${R_INSTALL_PATH}
|
||||||
- LOCAL_STORE=/tmp/output
|
- LOCAL_STORE=/tmp/output
|
||||||
build:
|
build:
|
||||||
|
platforms:
|
||||||
|
- "linux/amd64"
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile.rhel-9
|
dockerfile: Dockerfile.rhel-9
|
||||||
image: r-builds:rhel-9
|
image: r-builds:rhel-9
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue