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
2
2
3
3
RUN apk add --no-cache ca-certificates build-base
4
4
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
2
2
3
3
# Install build dependencies
4
4
RUN 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.
28
28
- Rename builder image from cosmwasm/go-ext-builder to
29
29
cosmwasm/libwasmvm-builder
30
30
- Replace CentOS with Debian image for GNU linux builds
31
+ - Build all images with ` --platform=linux/amd64 ` to avoid accidental ARM builds
31
32
32
33
** Version 0019:**
33
34
@@ -131,8 +132,9 @@ See those DockerHub repos for all available versions of the builder images.
131
132
132
133
## Usage
133
134
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:
136
138
137
139
``` sh
138
140
(cd builders && make docker-images)
You can’t perform that action at this time.
0 commit comments