-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #155 from nathan818fr/release-i686-linux-gnu
Add i686-linux-gnu to release targets
- Loading branch information
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM debian:buster | ||
|
||
# Create Debian Buster (glibc 2.28) image for cross-building i686 linux GNU binaries | ||
|
||
RUN dpkg --add-architecture i386 \ | ||
&& apt-get update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -yqq --no-install-recommends \ | ||
build-essential \ | ||
crossbuild-essential-i386 \ | ||
ca-certificates \ | ||
python3 \ | ||
wget \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN wget -O- "https://github.com/Kitware/CMake/releases/download/v3.27.8/cmake-3.27.8-linux-$(uname -m).tar.gz" \ | ||
| tar -xz --strip-components=1 -C / | ||
|
||
RUN groupadd -g 911 build \ | ||
&& useradd -mN -u 911 -g 911 build | ||
|
||
COPY --chmod=700 entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"] | ||
|
||
ENV CC="i686-linux-gnu-gcc" \ | ||
CXX="i686-linux-gnu-g++" |