Skip to content

Commit b6d1c42

Browse files
committed
downgraded node version to match legacy
1 parent 4680988 commit b6d1c42

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ An older version of ***PHP*** that some older codebase sites would require as an
66

77
Other Packages Included:
88

9-
- Node
9+
- Node v8.x
1010
- Composer v1.7.1
1111
- libxml2-dev
1212
- libzip-dev

docker-compose.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
version: '3.7'
22

3+
# Services/Containers to orchestrate in this composition
34
services:
5+
# Basic PHP 5.6 & Apache2 Image Container
46
php-5-6-web-server:
57
container_name: php-5-6-web-server
68
tty: true
@@ -31,6 +33,8 @@ services:
3133
networks:
3234
- webapp_network
3335

36+
# Custom network for composed containers to communicate on
3437
networks:
3538
webapp_network:
39+
driver: bridge
3640

php-5-6-apache.Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ LABEL evilwizardcreations.image.authors="evil.wizard95@googlemail.com" \
88
COPY --from=composer:1.7.1 /usr/bin/composer /usr/bin/composer
99

1010
# Download the nodejs setup & set that it's a docker env.
11-
# npm -v 6.4.1
12-
# yarn -v 1.10.1
1311
ENV NODE_ENV docker
14-
RUN curl --silent --location https://deb.nodesource.com/setup_14.x | bash
12+
# Node -v v8.12.0
13+
RUN curl --silent --location https://deb.nodesource.com/setup_8.x | bash
1514

1615
# Enable some apache modules.
1716
RUN a2enmod rewrite; \

0 commit comments

Comments
 (0)