summaryrefslogtreecommitdiff
path: root/docker/amd64
diff options
context:
space:
mode:
authorJF002 <JF002@users.noreply.github.com>2020-12-23 15:20:20 +0100
committerGitHub <noreply@github.com>2020-12-23 15:20:20 +0100
commitb4fb8897ac97e5ee6299842dac0384ce585743bb (patch)
treed3a11b3038957d97e3dc8f2dfe4597ec4523a5bc /docker/amd64
parent276c8aa308f923aeeadc068967b15ee7c59fa32b (diff)
parent5cdd3f6e6f0abf439da0389b38ebc13bd30fc8e5 (diff)
Merge pull request #149 from Nuxij/unified-dockerfile
Unify the Dockerfiles by fleshing out build.sh
Diffstat (limited to 'docker/amd64')
-rw-r--r--docker/amd64/Dockerfile34
1 files changed, 0 insertions, 34 deletions
diff --git a/docker/amd64/Dockerfile b/docker/amd64/Dockerfile
deleted file mode 100644
index 5f3c77ec..00000000
--- a/docker/amd64/Dockerfile
+++ /dev/null
@@ -1,34 +0,0 @@
-FROM amd64/ubuntu:18.04
-
-ARG DEBIAN_FRONTEND=noninteractive
-RUN apt-get update -qq \
- && apt-get install -y \
- build-essential \
- cmake \
- git \
- make \
- python3 \
- python3-pip \
- tar \
- unzip \
- wget \
- && rm -rf /var/cache/apt/* /var/lib/apt/lists/*
-
-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 \
- && tar -xjf gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz -C /opt \
- && rm gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz
-
-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
-
-ARG PUID=1000
-ARG PGID=1000
-RUN groupadd --system --gid $PGID infinitime && useradd --system --uid $PUID --gid $PGID infinitime
-
-USER infinitime:infinitime
-CMD ["/sources/docker/build.sh"]