From 1ada9181744cf6d6d01206d7e5635909bae00059 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Sun, 10 May 2020 23:31:44 -0400 Subject: [PATCH] Install wget early. --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8ea09144..837e1a1e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,10 @@ FROM debian:stable-slim +RUN apt-get -y update && \ + apt-get -y upgrade && \ + apt-get install --no-install-recommends -y \ + wget + ARG ZSDK_VERSION=0.11.2 RUN wget -q "https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${ZSDK_VERSION}/zephyr-sdk-${ZSDK_VERSION}-setup.run" && \ sh "zephyr-sdk-${ZSDK_VERSION}-setup.run" --quiet -- -d /opt/toolchains/zephyr-sdk-${ZSDK_VERSION} && \ @@ -16,9 +21,7 @@ ARG GID=1000 ENV DEBIAN_FRONTEND noninteractive -RUN apt-get -y update && \ - apt-get -y upgrade && \ - apt-get install --no-install-recommends -y \ +RUN apt-get install --no-install-recommends -y \ gnupg \ ca-certificates \ autoconf \ @@ -46,7 +49,6 @@ RUN apt-get -y update && \ python3-ply \ python3-setuptools \ python-xdg \ - wget \ xz-utils && \ rm -rf /var/lib/apt/lists/*