mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 13:34:04 +00:00
update before installing
This commit is contained in:
parent
8277cfa373
commit
62b7d19e1b
1 changed files with 4 additions and 5 deletions
|
|
@ -5,8 +5,6 @@ FROM --platform=linux/amd64 ${PHP_TARGET}
|
||||||
|
|
||||||
ARG COMPOSER_TARGET=2.0.3
|
ARG COMPOSER_TARGET=2.0.3
|
||||||
|
|
||||||
ENV ACCEPT_EULA=Y
|
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
|
|
||||||
LABEL org.opencontainers.image.source=https://github.com/stancl/tenancy \
|
LABEL org.opencontainers.image.source=https://github.com/stancl/tenancy \
|
||||||
|
|
@ -28,10 +26,11 @@ ENV LANG=en_GB.UTF-8
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y gnupg2 \
|
&& apt-get install -y gnupg2 \
|
||||||
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
|
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
|
||||||
&& curl https://packages.microsoft.com/config/debian/11/prod.list \
|
&& curl https://packages.microsoft.com/config/debian/11/prod.list > /etc/apt/sources.list.d/mssql-release.list \
|
||||||
> /etc/apt/sources.list.d/mssql-release.list
|
&& apt-get update \
|
||||||
|
&& ACCEPT_EULA=Y apt-get install -y unixodbc-dev msodbcsql17
|
||||||
|
|
||||||
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 curl msodbcsql17 mariadb-client sqlite3 libsqlite3-dev libpq-dev libzip-dev unzip vim-tiny gosu git
|
RUN apt-get install -y --no-install-recommends locales apt-transport-https libfreetype6-dev libjpeg62-turbo-dev libpng-dev libgmp-dev libldap2-dev netcat curl mariadb-client 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 \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue