Add ps command in docker

This commit is contained in:
Alexander Pankratov 2020-11-29 01:51:57 +03:00
parent 93502a35ab
commit d1d3e1132b

View File

@ -3,7 +3,7 @@ FROM php:7.4-zts
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.7.3/wait /usr/local/bin/docker-compose-wait ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.7.3/wait /usr/local/bin/docker-compose-wait
RUN apt-get update && apt-get upgrade -y \ RUN apt-get update && apt-get upgrade -y \
&& apt-get install apt-utils -y \ && apt-get install apt-utils procps -y \
# Install main extension # Install main extension
&& apt-get install git zip vim libzip-dev libgmp-dev libevent-dev libssl-dev libnghttp2-dev libffi-dev -y \ && apt-get install git zip vim libzip-dev libgmp-dev libevent-dev libssl-dev libnghttp2-dev libffi-dev -y \
&& docker-php-ext-install -j$(nproc) sockets zip gmp pcntl bcmath ffi \ && docker-php-ext-install -j$(nproc) sockets zip gmp pcntl bcmath ffi \