diff options
| author | Brendan Dolan-Gavitt <brendandg@nyu.edu> | 2022-01-29 00:42:25 -0500 |
|---|---|---|
| committer | Brendan Dolan-Gavitt <brendandg@nyu.edu> | 2022-01-30 14:20:30 -0500 |
| commit | 7ab7862e4db75024cae98aecdc79d9247db355e7 (patch) | |
| tree | 2b05e41985320b32712c34538603d5bf61e41d61 /.github/workflows | |
| parent | 143c9d175e9357ba548413ee7dcee6a8de23f733 (diff) | |
| download | afl++-7ab7862e4db75024cae98aecdc79d9247db355e7.tar.gz | |
Build docker images for arm64 as well as x86.
This involves: * A small change to the Dockerfile, so that it checks the target architecture and only installs gcc-multilib on x86_64. * Updates to the GitHub Actions workflow build_aflplusplus_docker.yaml to build for both linux/amd64 and linux/arm64. These changes should allow Mac M1 users to get a working version of AFL++ by doing "docker pull aflplusplus/aflplusplus".
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build_aflplusplus_docker.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/build_aflplusplus_docker.yaml b/.github/workflows/build_aflplusplus_docker.yaml index 8aa5b8f7..fa96da8e 100644 --- a/.github/workflows/build_aflplusplus_docker.yaml +++ b/.github/workflows/build_aflplusplus_docker.yaml @@ -12,6 +12,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 - name: Login to Dockerhub uses: docker/login-action@v1 with: @@ -21,5 +25,6 @@ jobs: uses: docker/build-push-action@v2 with: context: . + platforms: linux/amd64,linux/arm64 push: true tags: aflplusplus/aflplusplus:latest |
