-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: electron build v32.2.5 complete
- Loading branch information
Showing
4 changed files
with
80 additions
and
9 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
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,29 @@ | ||
FROM ghcr.io/darkyzhou/loong64-debian:latest | ||
|
||
ARG LIBFFI_VERSION="3.4.6" | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
ca-certificates \ | ||
curl \ | ||
build-essential \ | ||
binutils \ | ||
autoconf \ | ||
automake \ | ||
libtool \ | ||
pkg-config | ||
|
||
WORKDIR /root | ||
RUN curl -LO https://github.com/libffi/libffi/releases/download/v${LIBFFI_VERSION}/libffi-${LIBFFI_VERSION}.tar.gz && \ | ||
tar xf libffi-${LIBFFI_VERSION}.tar.gz | ||
|
||
WORKDIR /root/build | ||
RUN /root/libffi-${LIBFFI_VERSION}/configure \ | ||
CFLAGS="-mcmodel=medium" \ | ||
--prefix=/root/build/out \ | ||
--enable-pax_emutramp \ | ||
--enable-static \ | ||
--disable-docs && \ | ||
make libffi_convenience.la && \ | ||
tar czf libffi.tar.gz --directory=.libs . |