Updated CI configuration
This commit is contained in:
41
Dockerfile
Normal file
41
Dockerfile
Normal file
@@ -0,0 +1,41 @@
|
||||
FROM debian:stretch
|
||||
MAINTAINER Gregorio Chiko <gregorio@lepisi.ac.id>
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
apt-transport-https \
|
||||
lsb-release \
|
||||
ca-certificates \
|
||||
curl \
|
||||
git \
|
||||
zip \
|
||||
unzip \
|
||||
sudo \
|
||||
wget \
|
||||
gnupg1
|
||||
|
||||
ADD https://packages.sury.org/php/apt.gpg /etc/apt/trusted.gpg.d/php.gpg
|
||||
RUN sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
|
||||
RUN chmod 664 /etc/apt/trusted.gpg.d/php.gpg
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
php7.2-fpm \
|
||||
php7.2-cli \
|
||||
php7.2-mysql \
|
||||
php7.2-mbstring \
|
||||
php7.2-json \
|
||||
php7.2-sqlite3 \
|
||||
php7.2-xml \
|
||||
php7.2-curl \
|
||||
php7.2-zip \
|
||||
php7.2-intl \
|
||||
php7.2-gd \
|
||||
php7.2-bz2 \
|
||||
php7.2-opcache
|
||||
|
||||
COPY --from=composer:1.5 /usr/bin/composer /usr/bin/composer
|
||||
|
||||
RUN php -v && \
|
||||
git --version && \
|
||||
composer --version
|
||||
Reference in New Issue
Block a user