From ce8da1ebfc490da25921c6db05693cc88e990363 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Thu, 9 Nov 2023 23:41:50 +0000 Subject: [PATCH] Allow passwordless sudo. Updating to version 1.0.4 --- Dockerfile | 3 ++- README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7f32918..162f5dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,8 @@ RUN apt-get -y install vim ARG RUNNER_VERSION="2.311.0" # update the base packages and add a non-sudo user -RUN apt-get update -y && apt-get upgrade -y && useradd -m docker +RUN apt-get update -y && apt-get upgrade -y && useradd -m docker\ + echo 'docker ALL=(ALL) NOPASSWD:ALL' | tee -a /etc/sudoers # install python and the packages the your code depends on along with jq so we can parse JSON # add additional packages as necessary diff --git a/README.md b/README.md index f5fb686..2c016e7 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Docker Github Action Runner -## Version 1.0.3 \ No newline at end of file +## Version 1.0.4 \ No newline at end of file