forked from insideout10/wordlift-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
89 lines (81 loc) · 3.99 KB
/
Dockerfile
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
FROM wordpress:5.0-apache as wlp-wp-5.0
COPY --chown=www-data src/ /var/www/html/5.0/wp-content/plugins/wordlift/
COPY manifests/wp-cli.phar /usr/local/bin/wp
COPY manifests/entrypoint_5.0.sh /usr/local/bin/docker-entrypoint.sh
COPY manifests/disable_dep.php /var/www/html/5.0/wp-content/mu-plugins/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
RUN chmod +x /usr/local/bin/wp
RUN chown www-data:www-data /var/www/html -R
WORKDIR /var/www/html/5.0/
FROM wordpress:5.4-apache as wlp-wp-5.4
COPY --chown=www-data src/ /var/www/html/5.4/wp-content/plugins/wordlift/
COPY manifests/wp-cli.phar /usr/local/bin/wp
COPY manifests/entrypoint_5.4.sh /usr/local/bin/docker-entrypoint.sh
COPY manifests/disable_dep.php /var/www/html/5.4/wp-content/mu-plugins/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
RUN chmod +x /usr/local/bin/wp
RUN chown www-data:www-data /var/www/html -R
WORKDIR /var/www/html/5.4/
FROM wordpress:5.5-apache as wlp-wp-5.5
COPY --chown=www-data src/ /var/www/html/5.5/wp-content/plugins/wordlift/
COPY manifests/wp-cli.phar /usr/local/bin/wp
COPY manifests/entrypoint_5.5.sh /usr/local/bin/docker-entrypoint.sh
COPY manifests/disable_dep.php /var/www/html/5.5/wp-content/mu-plugins/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
RUN chmod +x /usr/local/bin/wp
RUN chown www-data:www-data /var/www/html -R
WORKDIR /var/www/html/5.5/
FROM wordpress:5.6-apache as wlp-wp-5.6
COPY --chown=www-data src/ /var/www/html/5.6/wp-content/plugins/wordlift/
COPY manifests/wp-cli.phar /usr/local/bin/wp
COPY manifests/entrypoint_5.6.sh /usr/local/bin/docker-entrypoint.sh
COPY manifests/disable_dep.php /var/www/html/5.6/wp-content/mu-plugins/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
RUN chmod +x /usr/local/bin/wp
RUN chown www-data:www-data /var/www/html -R
WORKDIR /var/www/html/5.6/
FROM wordpress:5.7-apache as wlp-wp-5.7
COPY --chown=www-data src/ /var/www/html/5.7/wp-content/plugins/wordlift/
COPY manifests/wp-cli.phar /usr/local/bin/wp
COPY manifests/entrypoint_5.7.sh /usr/local/bin/docker-entrypoint.sh
COPY manifests/disable_dep.php /var/www/html/5.7/wp-content/mu-plugins/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
RUN chmod +x /usr/local/bin/wp
RUN chown www-data:www-data /var/www/html -R
WORKDIR /var/www/html/5.7/
FROM wordpress:5.8-apache as wlp-wp-5.8
COPY --chown=www-data src/ /var/www/html/5.8/wp-content/plugins/wordlift/
COPY manifests/wp-cli.phar /usr/local/bin/wp
COPY manifests/entrypoint_5.8.sh /usr/local/bin/docker-entrypoint.sh
COPY manifests/disable_dep.php /var/www/html/5.8/wp-content/mu-plugins/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
RUN chmod +x /usr/local/bin/wp
RUN chown www-data:www-data /var/www/html -R
WORKDIR /var/www/html/5.8/
FROM wordpress:5.9.3-apache as wlp-wp-5.9
COPY --chown=www-data src/ /var/www/html/5.9/wp-content/plugins/wordlift/
COPY manifests/wp-cli.phar /usr/local/bin/wp
COPY manifests/entrypoint_5.9.sh /usr/local/bin/docker-entrypoint.sh
COPY manifests/disable_dep.php /var/www/html/5.9/wp-content/mu-plugins/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
RUN chmod +x /usr/local/bin/wp
RUN chown www-data:www-data /var/www/html -R
WORKDIR /var/www/html/5.9/
FROM wordpress:6.0-apache as wlp-wp-6.0
COPY --chown=www-data src/ /var/www/html/6.0/wp-content/plugins/wordlift/
COPY manifests/wp-cli.phar /usr/local/bin/wp
COPY manifests/entrypoint_6.0.sh /usr/local/bin/docker-entrypoint.sh
COPY manifests/disable_dep.php /var/www/html/6.0/wp-content/mu-plugins/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
RUN chmod +x /usr/local/bin/wp
RUN chown www-data:www-data /var/www/html -R
WORKDIR /var/www/html/6.0/
FROM wordpress:beta-6.1-apache as wlp-wp-6.1
COPY --chown=www-data src/ /var/www/html/6.1/wp-content/plugins/wordlift/
COPY manifests/wp-cli.phar /usr/local/bin/wp
COPY manifests/entrypoint_6.1.sh /usr/local/bin/docker-entrypoint.sh
COPY manifests/disable_dep.php /var/www/html/6.1/wp-content/mu-plugins/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
RUN chmod +x /usr/local/bin/wp
RUN chown www-data:www-data /var/www/html -R
WORKDIR /var/www/html/6.1/