Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM php:apache-trixie AS builder
# Pinned to 8.5: the floating `php:apache-trixie` tag moved to PHP 8.6, where
# imagick 3.8.1 (latest PECL) fails to compile (XtOffsetOf removed in PHP 8.6;
# upstream fix Imagick/imagick#795 not yet released). 8.5 is also the version
# this image has been running in production.
FROM php:8.5-apache-trixie AS builder

# Set working directory for build
WORKDIR /build
Expand All @@ -23,7 +27,7 @@ RUN gcc -Os -Wall -Wno-unused-parameter -Wextra -Wwrite-strings -Wno-string-plus
-o nitroctl nitroctl.c -lm

# Final Stage
FROM php:apache-trixie
FROM php:8.5-apache-trixie
LABEL org.opencontainers.image.authors="tekmanic"

# environment settings
Expand Down Expand Up @@ -125,8 +129,8 @@ RUN { \
} > /usr/local/etc/php/conf.d/security-hardening.ini


ENV WORDPRESS_VERSION=7.1.4
ENV WORDPRESS_SHA1=b175879c4fb2d35300f9abe1153da9b543a35a2b
ENV WORDPRESS_VERSION=7.1.5
ENV WORDPRESS_SHA1=f79cd80a8f8152edd88ef9be859ae765f2ec6c36
ENV MARIADB_ROOT_PW=root

RUN set -ex; \
Expand Down
2 changes: 1 addition & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Project: deb-wordpress Update

## Status: In Progress
**Branch:** `update-wordpress-7.1.4`
**Branch:** `update-wordpress-7.1.5`

## Task List
- [x] Update WordPress to version 7.1 (up from 7.0.2)
Expand Down
2 changes: 1 addition & 1 deletion spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Given the underlying LLM context limit (65k tokens), the project is managed usin
## 4. Roadmap & Validation (D - Delivery)

### Current Phase: Update & Hardening
- [x] **WordPress Update:** Migrated to v7.1.4 (from v7.1.3).
- [x] **WordPress Update:** Migrated to v7.1.5 (from v7.1.4).
- [x] **Base Image Upgrade:** Moved from Debian Bullseye $\rightarrow$ Bookworm.
- [ ] **Security Hardening:**
- Implement non-root user for PHP/Apache processes.
Expand Down