24 lines
654 B
Docker
24 lines
654 B
Docker
FROM ubuntu:18.10
|
|
LABEL maintainer="Max Regan <mgregan2@gmail.com>"
|
|
LABEL description="Container with ARM embedded cross toolchain"
|
|
|
|
RUN apt update && \
|
|
apt upgrade -y && \
|
|
apt install -y \
|
|
# Development files
|
|
build-essential \
|
|
git \
|
|
bzip2 \
|
|
python3 \
|
|
python3-pip \
|
|
wget && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip3 install freetype
|
|
|
|
RUN mkdir -p /opt/arm && \
|
|
cd /opt/arm && \
|
|
wget -O- https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2019q3/RC1.1/gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2 | tar -xj
|
|
|
|
ENV PATH "/opt/arm/gcc-arm-none-eabi-8-2019-q3-update/bin:$PATH"
|