File tree Expand file tree Collapse file tree 5 files changed +28
-28
lines changed Expand file tree Collapse file tree 5 files changed +28
-28
lines changed Original file line number Diff line number Diff line change 5454 provenance : false
5555 context : .
5656 platforms : linux/amd64
57- file : ./docker/amd64/Dockerfile
57+ file : ./docker/amd64/base/ Dockerfile
5858 tags : ${{ steps.meta.outputs.tags }}
5959
6060 build-arm64 :
@@ -105,7 +105,7 @@ jobs:
105105 provenance : false
106106 context : .
107107 platforms : linux/arm64
108- file : ./docker/arm64/Dockerfile
108+ file : ./docker/arm64/base/ Dockerfile
109109 tags : ${{ steps.meta.outputs.tags }}
110110
111111 manifest :
Original file line number Diff line number Diff line change @@ -10,6 +10,19 @@ LABEL version="${VERSION}" \
1010 description="Use same Docker image for compiling Rust programs for Linux (musl libc) & macOS (osxcross)." \
1111 maintainer="Jose Quintana <joseluisq.net>"
1212
13+ RUN set -eux \
14+ && dpkg --add-architecture arm64 \
15+ && DEBIAN_FRONTEND=noninteractive apt-get update -qq \
16+ && DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
17+ musl-dev \
18+ musl-dev:arm64 \
19+ musl-tools \
20+ gcc-aarch64-linux-gnu \
21+ g++-aarch64-linux-gnu \
22+ && apt-get clean \
23+ && rm -rf /var/lib/apt/lists/* \
24+ && true
25+
1326# Static linking for C++ code
1427RUN set -eux \
1528 && ln -s "/usr/bin/g++" "/usr/bin/musl-g++" \
Original file line number Diff line number Diff line change 11FROM joseluisq/rust-linux-darwin-builder:v2.0.0-beta.1
22
3- RUN set -eux \
4- && dpkg --add-architecture arm64 \
5- && DEBIAN_FRONTEND=noninteractive apt-get update -qq \
6- && DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
7- musl-dev \
8- musl-dev:arm64 \
9- musl-tools \
10- gcc-aarch64-linux-gnu \
11- g++-aarch64-linux-gnu \
12- && apt-get clean \
13- && rm -rf /var/lib/apt/lists/* \
14- && true
15-
163# zlib - http://zlib.net/
174ARG ZLIB_VERSION=1.3.1
185# Crate-related environment variables
Original file line number Diff line number Diff line change @@ -10,6 +10,19 @@ LABEL version="${VERSION}" \
1010 description="Use same Docker image for compiling Rust programs for Linux (musl libc) & macOS (osxcross)." \
1111 maintainer="Jose Quintana <joseluisq.net>"
1212
13+ RUN set -eux \
14+ && dpkg --add-architecture amd64 \
15+ && DEBIAN_FRONTEND=noninteractive apt-get update -qq \
16+ && DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
17+ musl-dev \
18+ musl-dev:amd64 \
19+ musl-tools \
20+ gcc-x86-64-linux-gnu \
21+ g++-x86-64-linux-gnu \
22+ && apt-get clean \
23+ && rm -rf /var/lib/apt/lists/* \
24+ && true
25+
1326# Static linking for C++ code
1427RUN set -eux \
1528 && ln -s "/usr/bin/g++" "/usr/bin/musl-g++" \
Original file line number Diff line number Diff line change 11FROM joseluisq/rust-linux-darwin-builder:v2.0.0-beta.1
22
3- RUN set -eux \
4- && dpkg --add-architecture amd64 \
5- && DEBIAN_FRONTEND=noninteractive apt-get update -qq \
6- && DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
7- musl-dev \
8- musl-dev:amd64 \
9- musl-tools \
10- gcc-x86-64-linux-gnu \
11- g++-x86-64-linux-gnu \
12- && apt-get clean \
13- && rm -rf /var/lib/apt/lists/* \
14- && true
15-
163# zlib - http://zlib.net/
174ARG ZLIB_VERSION=1.3.1
185# Crate-related environment variables
You can’t perform that action at this time.
0 commit comments