From 5eb64e5fe177f41bd7a432076d83740eb07435b4 Mon Sep 17 00:00:00 2001 From: Alexis Romero Date: Wed, 6 Sep 2023 16:13:40 +0200 Subject: [PATCH] Added confirmation for apt-get install command --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 83ccb7b..55049cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,7 @@ RUN echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/d tee /etc/apt/sources.list.d/docker.list > /dev/null RUN apt-get update -RUN apt-get install docker-ce-cli docker-compose-plugin +RUN apt-get install -y docker-ce-cli docker-compose-plugin # Run as user "runner", uid: 1001, gid: group ID for docker on the runner VM . Make this user a passwordless sudoer RUN useradd -u 1001 -ms /bin/bash -g docker runner