File tree Expand file tree Collapse file tree 7 files changed +26
-15
lines changed
Expand file tree Collapse file tree 7 files changed +26
-15
lines changed Original file line number Diff line number Diff line change @@ -137,10 +137,11 @@ test-alpine: release-build-alpine
137137
138138 @# Run the demo binary on Alpine machines
139139 @# See https://de.wikipedia.org/wiki/Alpine_Linux#Versionen for supported versions
140+ docker run --rm --read-only -v $(shell pwd):/mnt/testrun -w /mnt/testrun alpine:3.18 ./demo ./testdata/hackatom.wasm
141+ docker run --rm --read-only -v $(shell pwd):/mnt/testrun -w /mnt/testrun alpine:3.17 ./demo ./testdata/hackatom.wasm
142+ docker run --rm --read-only -v $(shell pwd):/mnt/testrun -w /mnt/testrun alpine:3.16 ./demo ./testdata/hackatom.wasm
140143 docker run --rm --read-only -v $(shell pwd):/mnt/testrun -w /mnt/testrun alpine:3.15 ./demo ./testdata/hackatom.wasm
141144 docker run --rm --read-only -v $(shell pwd):/mnt/testrun -w /mnt/testrun alpine:3.14 ./demo ./testdata/hackatom.wasm
142- docker run --rm --read-only -v $(shell pwd):/mnt/testrun -w /mnt/testrun alpine:3.13 ./demo ./testdata/hackatom.wasm
143- docker run --rm --read-only -v $(shell pwd):/mnt/testrun -w /mnt/testrun alpine:3.12 ./demo ./testdata/hackatom.wasm
144145
145146 @# Run binary locally if you are on Linux
146147 @# ./demo ./testdata/hackatom.wasm
Original file line number Diff line number Diff line change 44# For 2. we define the Go image here. For 1. we install Rust below.
55#
66# See also docs/COMPILER_VERSIONS.md
7- FROM golang:1.19.7 -alpine
7+ FROM golang:1.20.10 -alpine
88
99ENV RUSTUP_HOME=/usr/local/rustup \
10- CARGO_HOME=/usr/local/cargo \
11- PATH=/usr/local/cargo/bin:$PATH
10+ CARGO_HOME=/usr/local/cargo \
11+ PATH=/usr/local/cargo/bin:$PATH
1212
1313# this comes from standard alpine nightly file
1414# https://github.com/rust-lang/docker-rust-nightly/blob/master/alpine3.12/Dockerfile
1515# with some changes to support our toolchain, etc
1616RUN set -eux \
17- && apk add --no-cache ca-certificates build-base
17+ && apk add --no-cache ca-certificates build-base
1818
1919RUN wget "https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-musl/rustup-init" \
2020 && chmod +x rustup-init \
21- && ./rustup-init -y --no-modify-path --profile minimal --default-toolchain 1.69 .0 \
21+ && ./rustup-init -y --no-modify-path --profile minimal --default-toolchain 1.73 .0 \
2222 && rm rustup-init \
2323 && chmod -R a+w $RUSTUP_HOME $CARGO_HOME
2424
Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ RUN yum -y update \
2121
2222# GET FROM https://github.com/rust-lang/docker-rust-nightly
2323ENV RUSTUP_HOME=/usr/local/rustup \
24- CARGO_HOME=/usr/local/cargo \
25- PATH=/usr/local/cargo/bin:$PATH
24+ CARGO_HOME=/usr/local/cargo \
25+ PATH=/usr/local/cargo/bin:$PATH
2626
2727RUN wget "https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init" \
2828 && chmod +x rustup-init \
29- && ./rustup-init -y --no-modify-path --profile minimal --default-toolchain 1.69 .0 \
29+ && ./rustup-init -y --no-modify-path --profile minimal --default-toolchain 1.73 .0 \
3030 && rm rustup-init \
3131 && chmod -R a+w $RUSTUP_HOME $CARGO_HOME \
3232 && rustup --version \
Original file line number Diff line number Diff line change 1- FROM rust:1.69 .0-bullseye
1+ FROM rust:1.73 .0-bullseye
22
33# Install build dependencies
44RUN apt-get update \
55 && apt install -y clang gcc g++ zlib1g-dev libmpc-dev libmpfr-dev libgmp-dev build-essential cmake \
6- # Support for Windows cross-compile
7- mingw-w64
6+ # Support for Windows cross-compile
7+ mingw-w64
88
99## ADD MACOS SUPPORT
1010
Original file line number Diff line number Diff line change 11# Versioned by a simple counter that is not bound to a specific CosmWasm version
22# See builders/README.md
3- BUILDERS_PREFIX := cosmwasm/go-ext-builder:0016
3+ BUILDERS_PREFIX := cosmwasm/go-ext-builder:0017
44
55.PHONY : docker-image-centos7
66docker-image-centos7 :
Original file line number Diff line number Diff line change @@ -12,8 +12,18 @@ tricky. This folder contains build scripts and a Docker image to create all
1212dynamic libraries from one host. In general this is set up for a Linux host, but
1313any machine that can run Docker can do the cross-compilation.
1414
15+ ## Docker Hub images
16+
17+ See https://hub.docker.com/r/cosmwasm/go-ext-builder/tags for all available
18+ versions of the builder images.
19+
1520## Changelog
1621
22+ ** Version 0017:**
23+
24+ - Update Rust to 1.73.0.
25+ - Update Go to 1.20.10 (for testing only).
26+
1727** Version 0016:**
1828
1929- Update Rust to 1.69.0.
Original file line number Diff line number Diff line change @@ -63,6 +63,6 @@ We currently use the following version:
6363
6464| Type | Rust version | Note |
6565| ------------------------ | ------------ | --------------------------------- |
66- | Production Rust compiler | 1.69 .0 | Builders version 0016 |
66+ | Production Rust compiler | 1.73 .0 | Builders version 0017 |
6767| Min Rust compiler | 1.67.0 | Supports builder versions >= 0015 |
6868| Tooling Rust compiler | 1.69.0 | |
You can’t perform that action at this time.
0 commit comments