From 1e9bd99a7156c11c5661140de2ee5e8d0be0ab5d Mon Sep 17 00:00:00 2001 From: David Thorpe Date: Sun, 3 Oct 2021 17:41:02 +0200 Subject: [PATCH] Updated Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1054e86..68ab5dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,9 +24,10 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | g # install docker # https://docs.docker.com/engine/install/ubuntu/ +# Note we use the bionic version of docker as it's not available for focal RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg \ - && echo "deb [arch=armhf signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null \ - && apt-get update -y && apt-get install -y docker-compose containerd.io + && echo "deb [arch=armhf signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu bionic stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null \ + && apt-get update -y && apt-get install -y docker-ce docker-ce-cli containerd.io # install pkg-config libsqlite3-dev libmosquitto-dev RUN apt-get update -y && apt-get install -y pkg-config libsqlite3-dev libmosquitto-dev