|
|
|
@ -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-arm64-cross binutils-aarch64-linux-gnu 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:arm64 linux-libc-dev:arm64 libgcc1:arm64 libcurl4-openssl-dev:arm64 libfontconfig1-dev:arm64 libfreetype6-dev:arm64 liblttng-ust0:arm64 libstdc++6:arm64 libssl-dev:arm64
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|