From 4ddd04233c212944a81c81890ed7b06f992f6a11 Mon Sep 17 00:00:00 2001 From: Harry-zklcdc <1269158832@qq.com> Date: Thu, 9 May 2024 16:18:23 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]=20=F0=9F=90=9B=20Docker=20Build=20Error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0e0d648..2c3ab89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:latest -ENV GBP_USER ${GBP_USER:-gbp} +ENV GBP_USER ${GBP_USER:-ubuntu} ENV GBP_USER_ID ${GBP_USER_ID:-1000} WORKDIR /app @@ -38,8 +38,8 @@ RUN apt-get clean && \ COPY start-xvfb.sh /opt/bin/start-xvfb.sh COPY supervisor.conf /etc/supervisor/conf.d/supervisor.conf -RUN groupadd -g $GBP_USER_ID $GBP_USER -RUN useradd -rm -G sudo -u $GBP_USER_ID -g $GBP_USER_ID $GBP_USER +# RUN groupadd -g $GBP_USER_ID $GBP_USER +# RUN useradd -rm -G sudo -u $GBP_USER_ID -g $GBP_USER_ID $GBP_USER RUN mkdir -p /tmp/edge /var/run/supervisor /var/log/supervisor RUN chown "${GBP_USER_ID}:${GBP_USER_ID}" /var/run/supervisor /var/log/supervisor