mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-28 10:14:37 +01:00
build: Build docker images for proton sdk.
This commit is contained in:
parent
de58187e6c
commit
ae85b5d0df
11 changed files with 486 additions and 1 deletions
32
docker/binutils.Dockerfile.in
Normal file
32
docker/binutils.Dockerfile.in
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
FROM @PROTONSDK_URLBASE@/build-base-@ARCH@:latest AS build
|
||||
RUN wget -q @BINUTILS_URLBASE@/@BINUTILS_SOURCE@ \
|
||||
&& echo '@BINUTILS_SHA256@ @BINUTILS_SOURCE@' | sha256sum -c - \
|
||||
&& tar xf @BINUTILS_SOURCE@ -C /tmp && rm @BINUTILS_SOURCE@ \
|
||||
&& cd /tmp/binutils-@BINUTILS_VERSION@ \
|
||||
&& ./configure --quiet \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
--host=@ARCH@-linux-gnu \
|
||||
--build=@ARCH@-linux-gnu \
|
||||
--target=@ARCH@-@TARGET@ \
|
||||
--program-prefix=@ARCH@-@TARGET@- \
|
||||
--enable-gold \
|
||||
--enable-ld=default \
|
||||
--enable-lto \
|
||||
--enable-static \
|
||||
--disable-multilib \
|
||||
--disable-nls \
|
||||
--disable-plugins \
|
||||
--disable-shared \
|
||||
--disable-werror \
|
||||
--with-gmp \
|
||||
--with-isl \
|
||||
--with-mpc \
|
||||
--with-mpfr \
|
||||
--with-system-zlib \
|
||||
MAKEINFO=true \
|
||||
&& make --quiet -j@J@ MAKEINFO=true configure-host \
|
||||
&& make --quiet -j@J@ MAKEINFO=true LDFLAGS="-static" \
|
||||
&& make --quiet -j@J@ MAKEINFO=true install-strip DESTDIR=/opt \
|
||||
&& rm -rf /opt/usr/share/doc /opt/usr/share/info /opt/usr/share/man \
|
||||
&& rm -rf /tmp/binutils-@BINUTILS_VERSION@
|
||||
Loading…
Add table
Add a link
Reference in a new issue