FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
docker-php/docker/7.4-apache.Dockerfile at master · phpearth/docker-php · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Mar 24, 2022. It is now read-only.
phpearth
/
docker-php
Public archive
Notifications
You must be signed in to change notification settings
Fork
78
Star
260
Code
Issues
24
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
docker-php
/
docker
/
7.4-apache.Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
74 lines (64 loc) · 2.02 KB
Breadcrumbs
docker-php
/
docker
/
7.4-apache.Dockerfile
Copy path
File metadata and controls
74 lines (64 loc) · 2.02 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
FROM
alpine:3.9
ARG
BUILD_DATE
ARG
VCS_REF
LABEL
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-url=
"https://github.com/phpearth/docker-php.git"
\
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.schema-version=
"1.0"
\
org.label-schema.vendor=
"PHP.earth"
\
org.label-schema.name=
"docker-php"
\
org.label-schema.description=
"Docker For PHP Developers - Docker image with PHP 7.4, Apache, and Alpine"
\
org.label-schema.url=
"https://github.com/phpearth/docker-php"
#
PHP_INI_DIR to be symmetrical with official php docker image
ENV
PHP_INI_DIR /etc/php/7.4
#
When using Composer, disable the warning about running commands as root/super user
ENV
COMPOSER_ALLOW_SUPERUSER=1
#
Persistent runtime dependencies
ARG
DEPS=
"\
php7.4 \
php7.4-phar \
php7.4-bcmath \
php7.4-calendar \
php7.4-mbstring \
php7.4-exif \
php7.4-ftp \
php7.4-openssl \
php7.4-zip \
php7.4-sysvsem \
php7.4-sysvshm \
php7.4-sysvmsg \
php7.4-shmop \
php7.4-sockets \
php7.4-zlib \
php7.4-bz2 \
php7.4-curl \
php7.4-simplexml \
php7.4-xml \
php7.4-opcache \
php7.4-dom \
php7.4-xmlreader \
php7.4-xmlwriter \
php7.4-tokenizer \
php7.4-ctype \
php7.4-session \
php7.4-fileinfo \
php7.4-iconv \
php7.4-json \
php7.4-posix \
php7.4-apache2 \
curl \
ca-certificates \
runit \
apache2 \
"
#
PHP.earth Alpine repository for better developer experience
ADD
https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub
RUN
set -x \
&& echo
"https://repos.php.earth/alpine/v3.9"
>> /etc/apk/repositories \
&& apk add --no-cache $DEPS \
&& mkdir -p /run/apache2 \
&& ln -sf /dev/stdout /var/log/apache2/access.log \
&& ln -sf /dev/stderr /var/log/apache2/error.log
COPY
tags/apache /
EXPOSE
80
CMD
[
"/sbin/runit-wrapper"
]
Back
|
FazBrowse Home
|
New Git URL