This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 193
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 #446 from nzapponi/master
Added support for armv7l arch (Raspberry Pi 32bit)
- Loading branch information
Showing
3 changed files
with
34 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM debian:buster | ||
|
||
RUN dpkg --add-architecture armhf | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
crossbuild-essential-armhf \ | ||
python \ | ||
git \ | ||
pkg-config \ | ||
fakeroot \ | ||
rpm \ | ||
ca-certificates \ | ||
libx11-dev:armhf \ | ||
libx11-xcb-dev:armhf \ | ||
libxkbfile-dev:armhf \ | ||
libsecret-1-dev:armhf \ | ||
curl | ||
|
||
ENV AS=/usr/bin/arm-linux-gnueabihf-as \ | ||
STRIP=/usr/bin/arm-linux-gnueabihf-strip \ | ||
AR=/usr/bin/arm-linux-gnueabihf-ar \ | ||
CC=/usr/bin/arm-linux-gnueabihf-gcc \ | ||
CPP=/usr/bin/arm-linux-gnueabihf-cpp \ | ||
CXX=/usr/bin/arm-linux-gnueabihf-g++ \ | ||
LD=/usr/bin/arm-linux-gnueabihf-ld \ | ||
FC=/usr/bin/arm-linux-gnueabihf-gfortran \ | ||
PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig | ||
|
||
RUN curl -sL https://deb.nodesource.com/setup_15.x | bash - | ||
RUN apt-get install -y nodejs |
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