From 3763a5773874e33b531de8eeefe92c683b6089f6 Mon Sep 17 00:00:00 2001 From: Frank Kloeker Date: Fri, 29 Nov 2024 16:10:47 +0100 Subject: [PATCH] fix s3adm --- .github/workflows/s3adm.yml | 1 + Dockerfile.s3adm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/s3adm.yml b/.github/workflows/s3adm.yml index 993fdf8..8d660c6 100644 --- a/.github/workflows/s3adm.yml +++ b/.github/workflows/s3adm.yml @@ -4,6 +4,7 @@ on: - 'Dockerfile.s3adm' release: types: [created] + tags: name: Build & Sign & Push Dockerfile.s3adm diff --git a/Dockerfile.s3adm b/Dockerfile.s3adm index a4f6f17..ce92592 100644 --- a/Dockerfile.s3adm +++ b/Dockerfile.s3adm @@ -11,7 +11,7 @@ RUN apk add --no-cache py-pip && pip install s3cmd # Add kubectl RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x kubectl && mv kubectl /usr/local/bin/ # -RUN useradd --create-home appuser +RUN adduser -u 1000 -D appuser WORKDIR /home/appuser USER appuser ENV PYTHONUNBUFFERED=0