File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1- FROM rust:1.77.0-alpine
1+ FROM --platform=linux/amd64 rust:1.77.0-alpine
22
33RUN apk add --no-cache ca-certificates build-base
44
Original file line number Diff line number Diff line change 1- FROM rust:1.77.0-bullseye
1+ FROM --platform=linux/amd64 rust:1.77.0-bullseye
22
33# Install build dependencies
44RUN apt-get update \
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ See those DockerHub repos for all available versions of the builder images.
2828- Rename builder image from cosmwasm/go-ext-builder to
2929 cosmwasm/libwasmvm-builder
3030- Replace CentOS with Debian image for GNU linux builds
31+ - Build all images with ` --platform=linux/amd64 ` to avoid accidental ARM builds
3132
3233** Version 0019:**
3334
@@ -131,8 +132,9 @@ See those DockerHub repos for all available versions of the builder images.
131132
132133## Usage
133134
134- Create a local docker image, capable of cross-compling linux and macos dynamic
135- libs:
135+ Create the Docker images, capable of cross-compling Linux and MacOS dynamic
136+ libs. As the builder images are all x86_64, it can be slow and memory intense to
137+ do this on a different architecture:
136138
137139``` sh
138140(cd builders && make docker-images)
You can’t perform that action at this time.
0 commit comments