You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
5
+
RUN apt-get update && \
6
+
# TODO add --no-install-recommends
7
+
apt-get install -y \
8
+
build-essential \
9
+
# Intall clang compiler used by macos
10
+
clang \
11
+
cmake \
12
+
curl \
13
+
dh-autoreconf \
14
+
git \
15
+
gperf \
16
+
# various libs required to compile osxcross
17
+
libxml2-dev \
18
+
libssl-dev \
19
+
libz-dev \
20
+
# liblzma5 \
21
+
# Install Windows cross-tools
22
+
mingw-w64 \
23
+
p7zip-full \
24
+
pkg-config \
25
+
tar \
26
+
# xz-utils \
27
+
&& rm -rf /var/lib/apt/lists/*
28
+
# Install toolchains in /opt
29
+
RUN curl downloads.arduino.cc/tools/internal/toolchains.tar.gz | tar -xz "opt"
30
+
RUN curl downloads.arduino.cc/tools/internal/i686-ubuntu16.04-linux-gnu.tar.gz | tar -xzC /opt
31
+
# Remove useless toolchains:
32
+
RUN rm -r /opt/arm-rpi-4.9.3-linux-gnueabihf/
33
+
RUN rm -r /opt/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/
34
+
RUN rm -r /opt/*ubuntu12.04*
35
+
#install proper arm toolchains
36
+
RUN curl -L 'https://developer.arm.com/-/media/Files/downloads/gnu-a/8.3-2019.03/binrel/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz' | tar -xJC /opt
37
+
RUN curl -L 'https://developer.arm.com/-/media/Files/downloads/gnu-a/8.3-2019.03/binrel/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz' | tar -xJC /opt
0 commit comments