diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 7f2ff6a75a9..f05559afc9c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -155,6 +155,10 @@ jobs: VERSION_SUFFIX: ${{ needs.extract-version.outputs.VERSION_SUFFIX }} steps: - uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Dockerhub login run: | echo "${DOCKER_PASSWORD}" | docker login --username ${DOCKER_USERNAME} --password-stdin @@ -164,6 +168,7 @@ jobs: build-args: | FEATURES=portable context: . + platforms: linux/amd64,linux/arm64 push: true file: ./lcli/Dockerfile tags: ${{ env.LCLI_IMAGE_NAME }}:${{ env.VERSION }}${{ env.VERSION_SUFFIX }} diff --git a/lcli/Dockerfile b/lcli/Dockerfile index 4f5c3f2972f..2f6f205c1b3 100644 --- a/lcli/Dockerfile +++ b/lcli/Dockerfile @@ -1,7 +1,7 @@ # `lcli` requires the full project to be in scope, so this should be built either: # - from the `lighthouse` dir with the command: `docker build -f ./lcli/Dockerflie .` # - from the current directory with the command: `docker build -f ./Dockerfile ../` -FROM rust:1.75.0-bullseye AS builder +FROM rust:1.77.0-bullseye AS builder RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake libclang-dev COPY . lighthouse ARG FEATURES