add mbstring redis and pgsql to php7.2 build
This commit is contained in:
@@ -19,3 +19,16 @@ RUN mkdir -p /opt/project
|
||||
WORKDIR /opt/project
|
||||
|
||||
ENTRYPOINT ["php", "/opt/.composer/vendor/bin/robo"]
|
||||
|
||||
RUN apt-get update && apt-get install -y apt-transport-https software-properties-common ca-certificates curl gnupg-agent\
|
||||
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \
|
||||
&& add-apt-repository \
|
||||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
||||
$(lsb_release -cs) \
|
||||
stable" \
|
||||
&& apt-get update && apt-get install -y \
|
||||
docker-ce-cli \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
RUN curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose \
|
||||
&& chmod +x /usr/bin/docker-compose
|
||||
|
||||
Reference in New Issue
Block a user