- rm Dockerfile
This commit is contained in:
parent
26e7166039
commit
70ee20c130
1 changed files with 0 additions and 67 deletions
|
|
@ -1,67 +0,0 @@
|
|||
FROM php:7.3-apache
|
||||
|
||||
RUN apt-get update -qq && \
|
||||
apt-get install -qy \
|
||||
# Common
|
||||
nano \
|
||||
vim \
|
||||
# GD
|
||||
libfreetype6-dev \
|
||||
libjpeg62-turbo-dev \
|
||||
libpng-dev \
|
||||
libwebp-dev \
|
||||
libxpm-dev \
|
||||
# INTL
|
||||
zlib1g-dev libicu-dev g++ \
|
||||
# XSL
|
||||
libxslt-dev \
|
||||
# ZIP
|
||||
libzip-dev \
|
||||
unzip \
|
||||
zip \
|
||||
# Imagick
|
||||
libmagick++-dev \
|
||||
libmagickwand-dev \
|
||||
# Memcached
|
||||
libmemcached-dev
|
||||
|
||||
RUN docker-php-ext-configure gd \
|
||||
--with-gd \
|
||||
--with-webp-dir \
|
||||
--with-jpeg-dir \
|
||||
--with-png-dir \
|
||||
--with-zlib-dir \
|
||||
--with-xpm-dir \
|
||||
--with-freetype-dir
|
||||
|
||||
RUN docker-php-ext-configure intl
|
||||
RUN docker-php-ext-configure zip --with-libzip
|
||||
RUN docker-php-ext-install exif gd gettext intl mysqli pdo_mysql xsl opcache zip
|
||||
|
||||
RUN pecl install imagick-3.6.0 && docker-php-ext-enable imagick
|
||||
RUN pecl install memcached-3.1.5 && docker-php-ext-enable memcached
|
||||
|
||||
# DEV
|
||||
# TODO : https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/laravel + https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/vscode
|
||||
RUN apt-get install -qy git zsh && sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
RUN pecl install xdebug && docker-php-ext-enable xdebug
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_17.x | bash -
|
||||
RUN apt-get install -y nodejs
|
||||
## DEV
|
||||
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
RUN useradd -ms /bin/bash noroot
|
||||
|
||||
COPY conf/php.ini /usr/local/etc/php/conf.d/app.ini
|
||||
COPY conf/vhost.conf /etc/apache2/sites-available/000-default.conf
|
||||
COPY conf/apache.conf /etc/apache2/conf-available/z-app.conf
|
||||
COPY conf/ports.conf /etc/apache2/ports.conf
|
||||
COPY conf/security.conf /etc/apache2/conf-enabled/security.conf
|
||||
|
||||
RUN a2enmod rewrite remoteip headers && \
|
||||
a2enconf z-app
|
||||
|
||||
USER noroot
|
||||
WORKDIR /app/srcs
|
||||
Loading…
Add table
Reference in a new issue