File: Docker/cli.docker

Recommend this page to a friend!
  Classes of Kamil  >  PHP API Tutorial Training Server  >  Docker/cli.docker  >  Download  
File: Docker/cli.docker
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP API Tutorial Training Server
Implementation of a REST API for learning purposes
Author: By
Last change:
Date: 15 days ago
Size: 443 bytes
 

Contents

Class file image Download
FROM php:7.1-cli

RUN apt-get update && apt-get install -y \
      git \
      libmcrypt-dev \
      zlib1g-dev \
      libssl-dev \
      libpq-dev \
      p7zip-full \
      libzip-dev \
      libmcrypt-dev \
      mysql-client \
    && docker-php-ext-install mcrypt mbstring pdo_mysql zip

WORKDIR /app

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
    && rm -fr /root/.composer
For more information send a message to info at phpclasses dot org.