Skip to content

Commit c43713c

Browse files
committed
v1.0.0
1 parent a86dbe4 commit c43713c

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.docker/php/docker-entrypoint.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,16 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/cakephp' ]; then
3030
touch .gitkeep
3131

3232
composer require mixerapi/mixerapi
33+
34+
# optional:
3335
composer require mixerapi/crud
34-
composer require friendsofcake/search
36+
bin/cake plugin load MixerApi/Crud
3537

38+
# optional:
39+
composer require friendsofcake/search
3640
bin/cake plugin load Search
37-
bin/cake plugin load MixerApi/Crud
38-
bin/cake plugin load MixerApi
3941

42+
bin/cake plugin load MixerApi
4043
bin/cake mixerapi install --auto Y
4144
fi
4245

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#
22
# container
33
# @see https://hub.docker.com/repository/docker/cnizzardini/php-fpm-alpine
4-
# @see https://github.com/cnizzardini/php-fpm-alpine/tree/php-7.4
5-
FROM cnizzardini/php-fpm-alpine:7.4-latest AS cakephp_php
4+
# @see https://github.com/cnizzardini/php-fpm-alpine/tree/php-8.0
5+
FROM cnizzardini/php-fpm-alpine:8.0-latest AS cakephp_php
66

77
ARG ENV=prod
88
ARG UID=1000

0 commit comments

Comments
 (0)