mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 19:54:03 +00:00
Dockerize phpunit (#66)
This commit is contained in:
parent
13cdc03103
commit
dc30354699
9 changed files with 93 additions and 20 deletions
25
Dockerfile
Normal file
25
Dockerfile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
FROM ubuntu:18.04
|
||||
|
||||
LABEL maintainer="Samuel Štancl"
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y curl zip unzip git sqlite3 \
|
||||
php7.2-fpm php7.2-cli \
|
||||
php7.2-pgsql php7.2-sqlite3 php7.2-gd \
|
||||
php7.2-curl php7.2-memcached \
|
||||
php7.2-imap php7.2-mysql php7.2-mbstring \
|
||||
php7.2-xml php7.2-zip php7.2-bcmath php7.2-soap \
|
||||
php7.2-intl php7.2-readline php7.2-xdebug \
|
||||
php-msgpack php-igbinary \
|
||||
&& php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \
|
||||
&& mkdir /run/php
|
||||
|
||||
RUN apt-get install php7.2-redis
|
||||
|
||||
RUN apt-get -y autoremove \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
WORKDIR /var/www/html
|
||||
Loading…
Add table
Add a link
Reference in a new issue