This commit is contained in:
@@ -3,11 +3,9 @@ ARG USER_UID=1000
|
|||||||
|
|
||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
|
||||||
|
|
||||||
COPY start-container /usr/local/bin/start-container
|
COPY start-container /usr/local/bin/start-container
|
||||||
|
|
||||||
RUN apt-get -y update \
|
RUN DEBIAN_FRONTEND=noninteractive && apt-get -y update \
|
||||||
&& apt-get install -y php php-xml php-curl php-xml php-mbstring composer npm \
|
&& apt-get install -y php php-xml php-curl php-xml php-mbstring composer npm \
|
||||||
&& useradd --home-dir=/var/www/html --uid=$USER_UID $USERNAME \
|
&& useradd --home-dir=/var/www/html --uid=$USER_UID $USERNAME \
|
||||||
&& chmod +x /usr/local/bin/start-container
|
&& chmod +x /usr/local/bin/start-container
|
||||||
|
|||||||
Reference in New Issue
Block a user