Skip to content

Commit

Permalink
Merge pull request #58 from flashbots/feat/multiplatform-docker-images
Browse files Browse the repository at this point in the history
Build multi-platform docker images (`amd64` + `arm64`)
  • Loading branch information
0x416e746f6e authored Aug 31, 2024
2 parents eeaa577 + c245230 commit cbb8b39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
push: true
build-args: |
VERSION=${{ env.RELEASE_VERSION }}
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ WORKDIR /app
COPY . /app

# Install app dependencies and build the application
RUN cd core && rm -f ./src/output/wallets.json && yarn install && yarn script.createWallets && yarn build && cd ..
RUN cd cli && yarn install && yarn build && cd ..
RUN cd core && rm -f ./src/output/wallets.json && yarn install --network-timeout 1000000 && yarn script.createWallets && yarn build && cd ..
RUN cd cli && yarn install --network-timeout 1000000 && yarn build && cd ..

# Use an official Node runtime as a parent image for the runtime stage
FROM node:16 as runtime
Expand Down

0 comments on commit cbb8b39

Please sign in to comment.