Add arm64 appimage build
This commit is contained in:
parent
4e20421500
commit
385e3bb6ce
|
@ -7,17 +7,18 @@ RUN apt-get install -yq --no-install-suggests --no-install-recommends \
|
||||||
build-essential libcap-dev libssl-dev \
|
build-essential libcap-dev libssl-dev \
|
||||||
python-all-dev python-setuptools wget \
|
python-all-dev python-setuptools wget \
|
||||||
git gtk-update-icon-cache \
|
git gtk-update-icon-cache \
|
||||||
binutils-multiarch crossbuild-essential-armhf
|
binutils-multiarch crossbuild-essential-armhf crossbuild-essential-arm64
|
||||||
|
|
||||||
RUN dpkg --add-architecture armhf
|
RUN dpkg --add-architecture armhf
|
||||||
|
RUN dpkg --add-architecture arm64
|
||||||
|
|
||||||
RUN sed -iE "s|deb |deb [arch=amd64] |g" /etc/apt/sources.list \
|
RUN sed -iE "s|deb |deb [arch=amd64] |g" /etc/apt/sources.list \
|
||||||
&& echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ bionic main universe" >> /etc/apt/sources.list \
|
&& echo "deb [arch=armhf,arm64] http://ports.ubuntu.com/ubuntu-ports/ bionic main universe" >> /etc/apt/sources.list \
|
||||||
&& echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main universe" >> /etc/apt/sources.list
|
&& echo "deb [arch=armhf,arm64] http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main universe" >> /etc/apt/sources.list
|
||||||
|
|
||||||
RUN apt-get update | true
|
RUN apt-get update | true
|
||||||
|
|
||||||
RUN apt-get install -yq libssl-dev:armhf
|
RUN apt-get install -yq libssl-dev:armhf libssl-dev:arm64
|
||||||
|
|
||||||
RUN wget -qO appimage-builder-x86_64.AppImage \
|
RUN wget -qO appimage-builder-x86_64.AppImage \
|
||||||
https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage
|
https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage
|
||||||
|
|
|
@ -27,11 +27,21 @@ set_sourceline
|
||||||
./${BUILDER} --recipe ${RECIPE} || exit 1
|
./${BUILDER} --recipe ${RECIPE} || exit 1
|
||||||
|
|
||||||
export ARCH=armhf
|
export ARCH=armhf
|
||||||
|
export APPIMAGE_ARCH=${ARCH}
|
||||||
export RUNTIME=gnueabihf
|
export RUNTIME=gnueabihf
|
||||||
export CC=arm-linux-gnueabihf-gcc
|
export CC=arm-linux-gnueabihf-gcc
|
||||||
export CXX=${CC}
|
export CXX=${CC}
|
||||||
set_sourceline
|
set_sourceline
|
||||||
|
|
||||||
|
./${BUILDER} --recipe ${RECIPE} || exit 1
|
||||||
|
|
||||||
|
export ARCH=arm64
|
||||||
|
export APPIMAGE_ARCH=aarch64
|
||||||
|
export RUNTIME=${APPIMAGE_ARCH}
|
||||||
|
export CC=aarch64-linux-gnu-gcc
|
||||||
|
export CXX=${CC}
|
||||||
|
set_sourceline
|
||||||
|
|
||||||
./${BUILDER} --recipe ${RECIPE}
|
./${BUILDER} --recipe ${RECIPE}
|
||||||
|
|
||||||
mkdir -p ../out
|
mkdir -p ../out
|
||||||
|
|
Reference in New Issue
Block a user