Sign inSign up

digitalmanagerguru/php74

By digitalmanagerguru

•Updated over 4 years ago

Google App Engine Flex Custom Image for Laravel 8

Image
0

10K+

digitalmanagerguru/php74 repository overview

⁠Installed Packages

autoconf
bash
curl
g++
linux-headers
make
nginx
procps
supervisor
zlib-dev

⁠Installed PHP Extensions

bcmath
ctype
curl
dev
dom
fileinfo
fpm
gd
gmp
grpc
intl
json
mbstring
mysqli
opcache
openssl
pcntl
pdo
pdo_mysql
pear
phar
posix
protobuf
redis
simplexml
soap
tokenizer
xml
xmlreader
xmlwriter
zip

⁠PHP Additional Conf

doc_root = /var/www/html/public
serialize_precision = -1
expose_php = Off
disable_functions = exec, passthru, shell_exec, show_source, symlink, system
[PDO]
pdo_mysql.cache_size = 2000
[Opcache]
opcache.enable=1
opcache.enable_cli=0
[Date]
date.timezone = "UTC"

⁠How to Use

app.yaml

runtime: custom
env: flex
service: default
network:
  name: default
beta_settings:
  cloud_sql_instances: "{connection-name}"

Dockerfile

FROM digitalmanagerguru/php74

COPY --chown=nobody . .

#setup project env variables
ENV STORAGE_DIR='/tmp' 

RUN composer install --no-dev --prefer-dist \
    --optimize-autoloader \
    --no-interaction \
    --no-ansi \
    --no-progress

Tag summary

Content type

Image

Digest

Size

172.9 MB

Last updated

over 4 years ago

docker pull digitalmanagerguru/php74