From f72df1d340b776c4ebf90a60c49d802a8f16094e Mon Sep 17 00:00:00 2001 From: Muhamad Aditya Prima Date: Wed, 18 Dec 2024 01:16:37 +0700 Subject: [PATCH] Updated nginx on alpine --- Dockerfile.alpine | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 7800644..67a1e27 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -3,7 +3,7 @@ # 1.26.2 Alpine 3.21 ARG ALPINE_VERSION=3.21 -FROM quay.io/aprimediet/alpine:${ALPINE_VERSION} AS builder +FROM quay.io/sindigilive/alpine:${ALPINE_VERSION} AS builder LABEL maintainer=" map@sindigilive.com" USER root @@ -13,6 +13,7 @@ ENV NGINX_ROOT_DIR=/app # Add nginx user and group and install nginx RUN /usr/sbin/addgroup -g 10001 nginx; \ /usr/sbin/adduser -D -u 10001 -G nginx -s /sbin/nologin -h ${NGINX_ROOT_DIR}/htdocs nginx; \ + /usr/sbin/addgroup nginx tty; \ /sbin/apk --no-cache upgrade; \ /sbin/apk --no-cache --update add \ nginx;