From 7cfb469e0090a11cf69890aa5d49e64e9cacb231 Mon Sep 17 00:00:00 2001 From: Chad Crouch Date: Wed, 1 Jan 2025 19:36:37 +0200 Subject: [PATCH] fix - adjust docker permissions --- Dockerfile | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1aef99e..36169a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,20 +30,20 @@ RUN apt-get update && apt-get install -y \ # WORKDIR /runner -RUN apt-get install ca-certificates && \ - install -m 0755 -d /etc/apt/keyrings && \ - curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && \ - chmod a+r /etc/apt/keyrings/docker.asc - -RUN echo \ - "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ - $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ - sudo tee /etc/apt/sources.list.d/docker.list > /dev/null - -RUN apt-get update && \ - apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* +# RUN apt-get install ca-certificates && \ +# install -m 0755 -d /etc/apt/keyrings && \ +# curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && \ +# chmod a+r /etc/apt/keyrings/docker.asc + +# RUN echo \ +# "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ +# $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ +# sudo tee /etc/apt/sources.list.d/docker.list > /dev/null + +# RUN apt-get update && \ +# apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin && \ +# apt-get clean && \ +# rm -rf /var/lib/apt/lists/* RUN LATEST_RUNNER_VERSION=$(curl -s https://api.github.com/repos/actions/runner/releases/latest | jq -r .tag_name) && \