This commit is contained in:
root
2024-08-10 21:04:12 -05:00
parent 5e64a11c79
commit 2c96e994dc
14 changed files with 588 additions and 156 deletions
+23
View File
@@ -0,0 +1,23 @@
FROM php:5.4-fpm
COPY ./sources.list /etc/apt/sources.list
RUN apt-get update && \
apt-get install -y --no-install-recommends \
net-tools \
wget \
curl \
libssl-dev \
libnss3 \
nano \
procps \
nodejs \
gcc \
g++ \
make \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev && \
docker-php-ext-configure gd && \
docker-php-ext-install gd bz2 zip redis pdo_mysql mysqli mcrypt && \
rm -rf /var/lib/apt/lists/*
WORKDIR /srv
+23
View File
@@ -0,0 +1,23 @@
services:
php54:
hostname: php54
container_name: php54
image: php54
restart: always
privileged: true
volumes:
- /srv:/srv:rw
- ../../apps_data/php54/:/usr/local/etc:rw
dns:
- "1.1.1.1"
- "1.1.0.0"
ulimits:
nproc: 65535
cap_add:
- "ALL"
networks:
web:
ipv4_address: 172.28.32.73
networks:
web:
external: true
+2
View File
@@ -0,0 +1,2 @@
deb [trusted=yes] http://archive.debian.org/debian jessie main contrib non-free
deb [trusted=yes] http://archive.debian.org/debian-security jessie/updates main contrib non-free