Commit 6afa3de7 authored by Evgenii Goryaev's avatar Evgenii Goryaev

init commit

parents
Pipeline #107244489 failed with stage
in 38 seconds
image: docker:19.03.0
services:
- docker:19.03.0-dind
stages:
- build
variables:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: "/certs"
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
Build:
stage: build
script:
- docker pull $CI_REGISTRY_IMAGE:basic
- >
docker build
--pull
--build-arg VCS_URL=$CI_PROJECT_URL
--cache-from $CI_REGISTRY_IMAGE:basic
--file=./Dockerfile-basic
--tag $CI_REGISTRY_IMAGE:basic
.
- docker push $CI_REGISTRY_IMAGE:basic
FROM php:7.3-fpm
RUN apt-get update
RUN apt-get install -y \
git \
libzip-dev \
libc-client-dev \
libkrb5-dev \
libpng-dev \
libjpeg-dev \
libwebp-dev \
libfreetype6-dev \
libkrb5-dev \
libicu-dev \
zlib1g-dev \
zip \
ffmpeg \
libmemcached11 \
libmemcachedutil2 \
build-essential \
libmemcached-dev \
libz-dev
RUN docker-php-ext-configure gd \
--with-webp-dir=/usr/include/ \
--with-freetype-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/
RUN docker-php-ext-install gd
RUN docker-php-ext-configure imap \
--with-kerberos \
--with-imap-ssl
RUN docker-php-ext-install imap
RUN docker-php-ext-configure zip \
--with-libzip
RUN docker-php-ext-install zip
RUN docker-php-ext-configure intl
RUN docker-php-ext-install intl
RUN docker-php-ext-install pdo_mysql
RUN docker-php-ext-install exif
RUN docker-php-ext-install fileinfo
RUN pecl install xdebug
RUN curl --silent --show-error https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN pecl install memcached
RUN echo extension=memcached.so >> /usr/local/etc/php/conf.d/memcached.ini
ENV COMPOSER_ALLOW_SUPERUSER 1
WORKDIR /app
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment