forked from nfrastack/container-wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (19 loc) · 738 Bytes
/
Copy pathDockerfile
File metadata and controls
23 lines (19 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ARG PHP_VERSION=8.2
ARG DISTRO="alpine"
FROM docker.io/tiredofit/nginx-php-fpm:${PHP_VERSION}-${DISTRO}
LABEL maintainer="Dave Conroy (github.com/tiredofit)"
ENV PHP_ENABLE_CREATE_SAMPLE_PHP=FALSE \
PHP_ENABLE_MYSQLI=TRUE \
NGINX_WEBROOT="/www/wordpress" \
NGINX_SITE_ENABLED="wordpress" \
IMAGE_NAME="tiredofit/wordpress" \
IMAGE_REPO_URL="https://github.com/tiredofit/docker-wordpress/"
RUN source /assets/functions/00-container && \
set -x && \
package update && \
package upgrade && \
package install xmlstarlet && \
curl -o /usr/bin/wp-cli https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && \
chmod +x /usr/bin/wp-cli && \
package cleanup
COPY install/ /