|
|
|
@ -12,7 +12,7 @@ ENV ARCH=amd64
|
|
|
|
|
|
|
|
|
|
# Prepare Debian build environment
|
|
|
|
|
RUN apt-get update \
|
|
|
|
|
&& apt-get install -y apt-transport-https debhelper gnupg wget devscripts mmv
|
|
|
|
|
&& apt-get install -y apt-transport-https debhelper gnupg wget npm devscripts mmv
|
|
|
|
|
|
|
|
|
|
# Install dotnet repository
|
|
|
|
|
# https://dotnet.microsoft.com/download/linux-package-manager/debian9/sdk-current
|
|
|
|
@ -29,12 +29,6 @@ RUN dpkg --add-architecture armhf \
|
|
|
|
|
&& cd cross-gcc-packages-amd64/cross-gcc-8-armhf \
|
|
|
|
|
&& apt-get install -y gcc-8-source libstdc++-8-dev-armhf-cross binutils-aarch64-linux-gnu bison flex libtool gdb sharutils netbase libmpc-dev libmpfr-dev libgmp-dev systemtap-sdt-dev autogen expect chrpath zlib1g-dev zip binutils-arm-linux-gnueabihf libc6-dev:armhf linux-libc-dev:armhf libgcc1:armhf libcurl4-openssl-dev:armhf libfontconfig1-dev:armhf libfreetype6-dev:armhf libssl-dev:armhf liblttng-ust0:armhf libstdc++-8-dev:armhf
|
|
|
|
|
|
|
|
|
|
# Install yarn package manager
|
|
|
|
|
RUN wget -q -O- https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
|
|
|
|
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \
|
|
|
|
|
&& apt update \
|
|
|
|
|
&& apt install -y yarn
|
|
|
|
|
|
|
|
|
|
# Link to docker-build script
|
|
|
|
|
RUN ln -sf ${PLATFORM_DIR}/docker-build.sh /docker-build.sh
|
|
|
|
|
|
|
|
|
|