Skip to content

Commit 1dffc48

Browse files
JulianMarbestlong
authored andcommitted
Add php 7.3 (#25)
* Create Dockerfile-73
1 parent 5c1f0a6 commit 1dffc48

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

Dockerfile-73

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#
2+
#--------------------------------------------------------------------------
3+
# Image Setup
4+
#--------------------------------------------------------------------------
5+
#
6+
7+
FROM php:7.3-fpm
8+
9+
MAINTAINER Mahmoud Zalt <[email protected]>
10+
11+
#
12+
#--------------------------------------------------------------------------
13+
# Software's Installation
14+
#--------------------------------------------------------------------------
15+
#
16+
# Installing tools and PHP extentions using "apt", "docker-php", "pecl",
17+
#
18+
19+
# Install "curl", "libmemcached-dev", "libpq-dev", "libjpeg-dev",
20+
# "libpng-dev", "libfreetype6-dev", "libssl-dev", "libmcrypt-dev",
21+
RUN apt-get update \
22+
&& apt-get install -y --no-install-recommends \
23+
curl \
24+
libmemcached-dev \
25+
libz-dev \
26+
libpq-dev \
27+
libjpeg-dev \
28+
libpng-dev \
29+
libfreetype6-dev \
30+
libssl-dev \
31+
libmcrypt-dev \
32+
&& rm -rf /var/lib/apt/lists/*
33+
34+
35+
36+
# Install the PHP pdo_mysql extention
37+
RUN docker-php-ext-install pdo_mysql \
38+
# Install the PHP pdo_pgsql extention
39+
&& docker-php-ext-install pdo_pgsql \
40+
# Install the PHP gd library
41+
&& docker-php-ext-configure gd \
42+
--with-jpeg-dir=/usr/lib \
43+
--with-freetype-dir=/usr/include/freetype2 && \
44+
docker-php-ext-install gd

0 commit comments

Comments
 (0)