Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RACK-928: Slow Startup RiB Container on Apple M1 #985

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ jobs:

build-docker-image:
runs-on: ubuntu-22.04
name: Build on ${{ matrix.distro }} ${{ matrix.arch }}

strategy:
matrix:
include:
- arch: armv7
distro: ubuntu22.04
ubuntu-arch: linux/arm64/v8

steps:
- name: Check out RACK source
Expand All @@ -36,9 +44,13 @@ jobs:
path: RACK/rack-box/files

- name: Build rack-box docker image
run: |
cd RACK/rack-box
packer build -var version=${{ inputs.version }} rack-box-docker.json
uses: uraimo/run-on-arch-action@v2
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
run: |
cd RACK/rack-box
packer build -var version=${{ inputs.version }} -var arch=${{ matrix.ubuntu-arch }} rack-box-docker.json

- name: Login to Docker Hub
if: inputs.push == true
Expand Down
2 changes: 2 additions & 0 deletions rack-box/rack-box-docker.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"no_proxy": "{{env `no_proxy`}}",
"repository": "gehighassurance/rack-box",
"tags": "{{user `version`}}",
"arch": "{{user `arch`}}",
"version": "dev"
},

Expand All @@ -17,6 +18,7 @@
],
"commit": true,
"image": "ubuntu:22.04",
"platform": "{{user `arch`}}",
"pull": false
}
],
Expand Down