Skip to content

Commit b23b94f

Browse files
committed
1 parent abaa9b0 commit b23b94f

13 files changed

+72
-407
lines changed

.drone.yml

Lines changed: 50 additions & 353 deletions
Large diffs are not rendered by default.

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
include common.Makefile
22

3-
REGISTRY ?= quay.io/presslabs
4-
PHP_VERSION ?= 7.4.11
5-
WORDPRESS_VERSION ?= 5.5.1
3+
REGISTRY ?= docker.io/bitpoke
4+
PHP_VERSION ?= 7.4.22
5+
WORDPRESS_VERSION ?= 5.8
66

77
ifndef CI
88
TAG_SUFFIX ?= canary
99
endif
1010
BUILD_TAG ?= build
1111

12-
# The PHP series for which this version of WordPress builds the default tag, eg. quay.io/presslabs/wordpress-runtime:5.2.2
12+
# The PHP series for which this version of WordPress builds the default tag, eg. docker.io/bitpoke/wordpress-runtime:5.2.2
1313
WORDPRESS_PHP_SERIES := $(shell ./hack/wordpress-php-series $(WORDPRESS_VERSION))
1414

1515
# The PHP series for which to build the default bedrock tag

hack/container-structure-test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ cd ${PROJECT_ROOT}
2525

2626
exec docker run --rm -w /workspace \
2727
-v $(pwd):/workspace \
28-
-v /var/run/docker.sock:/var/run/docker.sock \
28+
-v /workspace/docker.sock:/var/run/docker.sock \
2929
gcr.io/gcp-runtimes/container-structure-test:v1.8.0 \
3030
"$@"

project.Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ifndef __PROJECT_MAKEFILE__
22

33
__PROJECT_MAKEFILE__ := included
44

5-
REGISTRY ?= quay.io/presslabs
5+
REGISTRY ?= docker.io/bitpoke
66

77

88
ifndef CI

wordpress/Dockerfile-5.5

Lines changed: 0 additions & 10 deletions
This file was deleted.

wordpress/Dockerfile-5.6

Lines changed: 0 additions & 10 deletions
This file was deleted.

wordpress/Dockerfile-5.7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BASE_IMAGE=quay.io/presslabs/wordpress-runtime:bedrock-php-7.4
1+
ARG BASE_IMAGE=docker.io/bitpoke/wordpress-runtime:bedrock-php-7.4
22
FROM ${BASE_IMAGE} as bedrock
33
ENV WORDPRESS_VERSION=5.7.2
44
ENV WP_CONTENT_DIR=${DOCUMENT_ROOT}/wp-content

wordpress/Dockerfile-bedrock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG PHP_BASE_IMAGE=quay.io/presslabs/php-runtime:7.4
1+
ARG PHP_BASE_IMAGE=docker.io/bitpoke/php-runtime:7.4
22
FROM ${PHP_BASE_IMAGE} as bedrock
33

44
ENV WP_CLI_VERSION=2.4.0

wordpress/Dockerfile-bedrock-build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BASE_IMAGE=quay.io/presslabs/wordpress-runtime:bedrock
1+
ARG BASE_IMAGE=docker.io/bitpoke/wordpress-runtime:bedrock
22
FROM ${BASE_IMAGE} as bedrock
33
WORKDIR /src
44
# Install project dependencies as first build step for child images so that we

wordpress/Dockerfile-bedrock-build-php-7.3 renamed to wordpress/Dockerfile-bedrock-build-php-8.0

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BASE_IMAGE=quay.io/presslabs/wordpress-runtime:bedrock-php-7.3
1+
ARG BASE_IMAGE=docker.io/bitpoke/wordpress-runtime:bedrock-php-8.0
22
FROM ${BASE_IMAGE} as bedrock
33
WORKDIR /src
44
# Install project dependencies as first build step for child images so that we

wordpress/Dockerfile-bedrock-php-7.3

Lines changed: 0 additions & 21 deletions
This file was deleted.

wordpress/Dockerfile-bedrock-php-8.0

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG PHP_BASE_IMAGE=quay.io/presslabs/php-runtime:8.0
1+
ARG PHP_BASE_IMAGE=docker.io/bitpoke/php-runtime:8.0
22
FROM ${PHP_BASE_IMAGE} as bedrock
33

44
ENV WP_CLI_VERSION=2.2.0

wordpress/Makefile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,14 @@ include ../docker.Makefile
2020
wordpress-runtime-bedrock: wordpress-runtime-bedrock-build
2121
push-wordpress-runtime-bedrock: push-wordpress-runtime-bedrock-build
2222

23-
# Modify build targets for bedrock-php-7.3 so that we build, test and publish bedrock-php-7.3 and bedrock-build-php-7.3 variants
24-
.build/wordpress-runtime-bedrock-php-7.3: .build/wordpress-runtime-bedrock-build-php-7.3
23+
# Modify build targets for bedrock-php-8.0 so that we build, test and publish bedrock-php-8.0 and bedrock-build-php-8.0 variants
24+
.build/wordpress-runtime-bedrock-build-php-8.0: .build/wordpress-runtime-bedrock-php-8.0
25+
.build/wordpress-runtime-bedrock-build-php-8.0: BASE_IMAGE := local.build/wordpress-runtime-bedrock-php-8.0
26+
.build/wordpress-runtime-bedrock-build-php-8.0: DOCKER_BUILD := docker build
27+
28+
.build/tag-wordpress-runtime-bedrock-build-php-8.0: .build/tag-wordpress-runtime-bedrock-php-8.0
29+
30+
.build/test-wordpress-runtime-bedrock-build-php-8.0: .build/test-wordpress-runtime-bedrock-build-php-8.0 ;
31+
32+
wordpress-runtime-bedrock-php-8.0: wordpress-runtime-bedrock-build-php-8.0
33+
push-wordpress-runtime-bedrock-php-8.0: push-wordpress-runtime-bedrock-build-php-8.0

0 commit comments

Comments
 (0)