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() {
37
37
}
38
38
39
39
# 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() {
43
44
docker run --rm -it \
44
45
--env RUST_BACKTRACE=1 \
45
46
--volume " ${CRATE_PATH} :/home/rust/src" \
46
47
--volume cargo-cache:/home/rust/.cargo \
47
- ekidd /rust-musl-builder:nightly \
48
+ blackdex /rust-musl:x86_64-musl-stable \
48
49
cargo build -vv
49
50
50
51
check_crate_build_locally
51
52
}
52
53
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
-
63
54
# Verify the build artifact works and is statically linked:
64
55
function check_crate_build_locally() {
65
56
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