Add initial Dockerfile

This commit is contained in:
2019-12-10 06:00:21 +00:00
parent d0d5890af4
commit 25786926a4

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
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 \
wget && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /opt/arm && \
cd /opt/arm && \
wget -qO- 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"