summaryrefslogtreecommitdiff
path: root/docker/x86_64/Dockerfile
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-08-19 16:05:53 +0200
committerGitea <gitea@fake.local>2020-08-19 16:05:53 +0200
commit38418931f1ee46e5405d48fcee18005b6ab4c4c7 (patch)
treef2e00c3ee30295486496d91d96194892e9bb38d6 /docker/x86_64/Dockerfile
parent9906a708c9fcbc13f47bdba0cb8512799a2a3719 (diff)
parent58811d76cfa742d6e046dc5003e9fc3b95589fa7 (diff)
Merge branch 'dockerfile' of JF/PineTime into develop
Diffstat (limited to 'docker/x86_64/Dockerfile')
-rw-r--r--docker/x86_64/Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/docker/x86_64/Dockerfile b/docker/x86_64/Dockerfile
new file mode 100644
index 00000000..6dd604be
--- /dev/null
+++ b/docker/x86_64/Dockerfile
@@ -0,0 +1,10 @@
+FROM ubuntu:18.04
+RUN apt-get update -qq && apt-get install -y wget unzip cmake make build-essential git python3 python3-pip
+RUN wget -q https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz -O - | tar -xj -C /opt/
+RUN wget -q https://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/nRF5_SDK_15.3.0_59ac345.zip && unzip -q nRF5_SDK_15.3.0_59ac345.zip -d /opt/ && rm nRF5_SDK_15.3.0_59ac345.zip
+
+RUN git clone https://github.com/JuulLabs-OSS/mcuboot.git /opt/mcuboot && pip3 install -r /opt/mcuboot/scripts/requirements.txt
+RUN pip3 install adafruit-nrfutil
+
+
+CMD ["/sources/docker/build.sh"] \ No newline at end of file