summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzvecr <git@zvecr.com>2019-06-01 03:36:01 +0100
committerDrashna Jaelre <drashna@live.com>2019-06-03 17:14:34 -0700
commit91849853ba231f663731010ad073cdc85d23ae9b (patch)
tree5956b0444ea4869c2b83cca78c1e67350420e039
parenta8958c5e5324dc5d30edde5ab5f682eb2f53f8fb (diff)
upgrade gcc-arm-none-eabi from the default 5.4.1 to 6.3.1 due to ARM runtime issues
-rw-r--r--Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index dc9d96ecd8..f15eb2ee36 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,7 +9,6 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
dfu-programmer \
dfu-util \
gcc \
- gcc-arm-none-eabi \
gcc-avr \
git \
libnewlib-arm-none-eabi \
@@ -19,6 +18,10 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
zip \
&& rm -rf /var/lib/apt/lists/*
+# upgrade gcc-arm-none-eabi from the default 5.4.1 to 6.3.1 due to ARM runtime issues
+RUN wget -q https://developer.arm.com/-/media/Files/downloads/gnu-rm/6-2017q2/gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2 -O - | \
+ tar xj --strip-components=1 -C /
+
VOLUME /qmk_firmware
WORKDIR /qmk_firmware
COPY . .