Added node + yarn, tidy php extension (7.3+)
This commit is contained in:
+11
-8
@@ -1,12 +1,12 @@
|
||||
# maintainer information.
|
||||
FROM webdevops/php-nginx:7.4-alpine
|
||||
MAINTAINER Belman Kraul <bkraul@belmankraul.com>
|
||||
LABEL maintainer="Belman Kraul <bkraul@belmankraul.com>"
|
||||
|
||||
# install php modules and drivers.
|
||||
ENV MSSQL_DRIVER_VERSION=6.1.1-1
|
||||
RUN set -x \
|
||||
RUN \
|
||||
# install the build pre-requisites.
|
||||
&& apk add --no-cache --virtual .build-deps autoconf file g++ make pkgconf re2c php7-dev unixodbc-dev libmcrypt-dev \
|
||||
apk add --no-cache --virtual .build-deps autoconf file g++ make pkgconf re2c php7-dev unixodbc-dev \
|
||||
# install mssql drivers
|
||||
&& curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/msodbcsql17_17.${MSSQL_DRIVER_VERSION}_amd64.apk \
|
||||
&& curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/mssql-tools_17.${MSSQL_DRIVER_VERSION}_amd64.apk \
|
||||
@@ -17,7 +17,10 @@ RUN set -x \
|
||||
&& echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc \
|
||||
&& /bin/bash -c "source ~/.bashrc" \
|
||||
# install the pecl extensions.
|
||||
#&& pecl install mcrypt-1.0.2 \
|
||||
# for php-tidy we must leave behind the tidyhtml-dev libraries
|
||||
# as tidy.so requires dev libraries such as libtidy.so.5.
|
||||
&& apk add tidyhtml-dev \
|
||||
&& docker-php-ext-install tidy \
|
||||
&& pecl install pdo_sqlsrv \
|
||||
&& pecl install sqlsrv \
|
||||
&& pecl install igbinary \
|
||||
@@ -41,8 +44,8 @@ RUN set -x \
|
||||
|
||||
# build node.
|
||||
ENV NODE_VERSION 12.19.0
|
||||
RUN set -x \
|
||||
&& apk add --no-cache \
|
||||
RUN \
|
||||
apk add --no-cache \
|
||||
libstdc++ \
|
||||
&& apk add --no-cache --virtual .build-deps \
|
||||
curl \
|
||||
@@ -111,8 +114,8 @@ RUN set -x \
|
||||
|
||||
# build yarn
|
||||
ENV YARN_VERSION 1.22.5
|
||||
RUN set -x \
|
||||
&& apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \
|
||||
RUN \
|
||||
apk add --no-cache --virtual .build-deps-yarn curl gnupg tar \
|
||||
&& for key in \
|
||||
6A010C5166006599AA17F08146C2130DFD2497F5 \
|
||||
; do \
|
||||
|
||||
Reference in New Issue
Block a user