Unverified Commit a98d73e3 authored by Thomas Vos's avatar Thomas Vos Committed by GitHub

Update linux-amd64/Dockerfile with dependencies needed for cross compiling...

Update linux-amd64/Dockerfile with dependencies needed for cross compiling linuxArm64 target (#1061)

https://github.com/JetBrains/skiko/pull/1051#discussion_r2107305732
parent c806b16f
...@@ -10,14 +10,17 @@ RUN apt-get update -y && \ ...@@ -10,14 +10,17 @@ RUN apt-get update -y && \
apt-get update && \ apt-get update && \
apt-get install gcc-9 g++-9 -y && \ apt-get install gcc-9 g++-9 -y && \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9 && \ update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9 && \
update-alternatives --config gcc update-alternatives --config gcc && \
apt-get install gcc-9-aarch64-linux-gnu g++-9-aarch64-linux-gnu -y && \
update-alternatives --install /usr/bin/aarch64-linux-gnu-gcc aarch64-linux-gnu-gcc /usr/bin/aarch64-linux-gnu-gcc-9 60 --slave /usr/bin/aarch64-linux-gnu-g++ aarch64-linux-gnu-g++ /usr/bin/aarch64-linux-gnu-g++-9 && \
update-alternatives --config aarch64-linux-gnu-gcc
ENV PATH=/usr/lib/binutils-2.26/bin:$PATH ENV PATH=/usr/lib/binutils-2.26/bin:$PATH
# Install libs & tools # Install libs & tools
ENV DEPOT_TOOLS=/usr/depot_tools ENV DEPOT_TOOLS=/usr/depot_tools
ENV PATH=$DEPOT_TOOLS:$PATH ENV PATH=$DEPOT_TOOLS:$PATH
RUN apt-get install git python wget -y && \ RUN apt-get install git python wget -y && \
apt-get install fontconfig libfontconfig1-dev libglu1-mesa-dev libxrandr-dev libdbus-1-dev curl zip -y && \ apt-get install fontconfig libfontconfig1-dev libglu1-mesa-dev libxrandr-dev libdbus-1-dev curl zip multistrap -y && \
git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git' $DEPOT_TOOLS git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git' $DEPOT_TOOLS
# Install Java # Install Java
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment