From 25b6636c085a6ff10a7f17552f95014c492bf3dc Mon Sep 17 00:00:00 2001 From: Aditya Prima Date: Sat, 23 Mar 2024 19:24:00 +0700 Subject: [PATCH] Fixed wrong dockerfile for alpine --- .gitea/workflows/83-alpine.yaml | 2 +- Dockerfile.ubuntu | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitea/workflows/83-alpine.yaml b/.gitea/workflows/83-alpine.yaml index 4d75952..0dfb7dc 100644 --- a/.gitea/workflows/83-alpine.yaml +++ b/.gitea/workflows/83-alpine.yaml @@ -23,7 +23,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . - file: Dockerfile.ubuntu + file: Dockerfile.alpine build-args: | ALPINE_VERSION=3.19 PHP_VERSION=83 diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu index ff8f45d..b4d52cb 100644 --- a/Dockerfile.ubuntu +++ b/Dockerfile.ubuntu @@ -10,9 +10,6 @@ ENV PHP_VERSION=${PHP_VERSION} # Set workdir at root WORKDIR /root -# Use root user to install all dependencies -USER root - RUN apt -y update && apt -y upgrade && apt -y install \ software-properties-common