File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -37,29 +37,20 @@ function docker_build() {
3737}
3838
3939# Reference - Helpers to locally compare builds from alternative images (x86_64 arch only):
40- # - `ekidd/rust-musl-builder`
41- # - `golddranks/rust_musl_docker`
42- function docker_build_ekidd() {
40+ # - https://github.com/emk/rust-musl-builder (ss1, abandoned)
41+ # - https://gitlab.com/rust_musl_docker/image (ss1, abandoned)
42+ # - https://github.com/BlackDex/rust-musl (active, supports ssl 3.X)
43+ function docker_build_other_image() {
4344 docker run --rm -it \
4445 --env RUST_BACKTRACE=1 \
4546 --volume " ${CRATE_PATH} :/home/rust/src" \
4647 --volume cargo-cache:/home/rust/.cargo \
47- ekidd /rust-musl-builder:nightly \
48+ blackdex /rust-musl:x86_64-musl-stable \
4849 cargo build -vv
4950
5051 check_crate_build_locally
5152}
5253
53- function docker_build_golddranks() {
54- docker run --rm -it \
55- --env RUST_BACKTRACE=1 \
56- --volume " ${CRATE_PATH} :/workdir" \
57- golddranks/rust_musl_docker:nightly-2017-10-03 \
58- cargo build -vv --target=x86_64-unknown-linux-musl
59-
60- check_crate_build_locally
61- }
62-
6354# Verify the build artifact works and is statically linked:
6455function check_crate_build_locally() {
6556 local CRATE_ARTIFACT=" ${CRATE_PATH} /target/x86_64-unknown-linux-musl/debug/${CRATE_NAME} "
You can’t perform that action at this time.
0 commit comments