|
|
|
@ -21,6 +21,12 @@ RUN wget https://download.visualstudio.microsoft.com/download/pr/69937b49-a877-4
|
|
|
|
|
&& tar -xzf dotnet-sdk.tar.gz -C dotnet-sdk \
|
|
|
|
|
&& ln -s $( pwd )/dotnet-sdk/dotnet /usr/bin/dotnet
|
|
|
|
|
|
|
|
|
|
# Install npm package manager
|
|
|
|
|
RUN wget -q -O- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \
|
|
|
|
|
&& echo "deb https://deb.nodesource.com/node_8.x $(lsb_release -s -c) main" > /etc/apt/sources.list.d/npm.list \
|
|
|
|
|
&& apt update \
|
|
|
|
|
&& apt install -y nodejs
|
|
|
|
|
|
|
|
|
|
# Prepare the cross-toolchain
|
|
|
|
|
RUN rm /etc/apt/sources.list \
|
|
|
|
|
&& export CODENAME="$( lsb_release -c -s )" \
|
|
|
|
@ -40,12 +46,6 @@ RUN rm /etc/apt/sources.list \
|
|
|
|
|
&& ln -fs /usr/share/zoneinfo/America/Toronto /etc/localtime \
|
|
|
|
|
&& apt-get install -y gcc-6-source libstdc++6-armhf-cross binutils-arm-linux-gnueabihf bison flex libtool gdb sharutils netbase libcloog-isl-dev libmpc-dev libmpfr-dev libgmp-dev systemtap-sdt-dev autogen expect chrpath zlib1g-dev zip libc6-dev:armhf linux-libc-dev:armhf libgcc1:armhf libcurl4-openssl-dev:armhf libfontconfig1-dev:armhf libfreetype6-dev:armhf liblttng-ust0:armhf libstdc++6:armhf libssl-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
|
|
|
|
|
|
|
|
|
|