From 25786926a405ee0cae3c5ac184523e214bf99d6c Mon Sep 17 00:00:00 2001 From: Max Regan Date: Tue, 10 Dec 2019 06:00:21 +0000 Subject: [PATCH] Add initial Dockerfile --- Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..caeaa94 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM ubuntu:18.10 +LABEL maintainer="Max Regan " +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"