mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 14:14:03 +00:00
add dependencies
This commit is contained in:
parent
bbf6bc50e6
commit
9eba975994
1 changed files with 8 additions and 4 deletions
12
Dockerfile
12
Dockerfile
|
|
@ -22,10 +22,14 @@ ENV LANG=en_GB.UTF-8
|
||||||
# Dockerfile _and pin the versions_! Eg:
|
# Dockerfile _and pin the versions_! Eg:
|
||||||
# RUN pecl install memcached-2.2.0 && docker-php-ext-enable memcached
|
# RUN pecl install memcached-2.2.0 && docker-php-ext-enable memcached
|
||||||
|
|
||||||
# install some OS packages we need
|
|
||||||
RUN apt-get update
|
RUN apt-get update \
|
||||||
RUN apt-get install -y --no-install-recommends libfreetype6-dev libjpeg62-turbo-dev libpng-dev libgmp-dev libldap2-dev netcat curl sqlite3 libsqlite3-dev libpq-dev libzip-dev unzip vim-tiny gosu git
|
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
|
||||||
# install php extensions
|
&& curl https://packages.microsoft.com/config/debian/9/prod.list \
|
||||||
|
> /etc/apt/sources.list.d/mssql-release.list
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends locales apt-transport-https libfreetype6-dev libjpeg62-turbo-dev libpng-dev libgmp-dev libldap2-dev netcat unixodbc-dev msodbcsql17 curl sqlite3 libsqlite3-dev libpq-dev libzip-dev unzip vim-tiny gosu git
|
||||||
|
|
||||||
RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
|
RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
|
||||||
# && if [ "${PHP_VERSION}" = "7.4" ]; then docker-php-ext-configure gd --with-freetype --with-jpeg; else docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/; fi \
|
# && if [ "${PHP_VERSION}" = "7.4" ]; then docker-php-ext-configure gd --with-freetype --with-jpeg; else docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/; fi \
|
||||||
&& docker-php-ext-install -j$(nproc) gd pdo pdo_mysql pdo_pgsql pdo_sqlite pgsql zip gmp bcmath pcntl ldap sysvmsg exif \
|
&& docker-php-ext-install -j$(nproc) gd pdo pdo_mysql pdo_pgsql pdo_sqlite pgsql zip gmp bcmath pcntl ldap sysvmsg exif \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue