Skip to content
This repository was archived by the owner on Oct 21, 2026. It is now read-only.
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
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.2.4
5.2.5
2 changes: 1 addition & 1 deletion alpine3.15/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.15-6.4.0
FROM quay.io/bfren/alpine-s6:alpine3.15-6.5.0

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache"

Expand Down
2 changes: 1 addition & 1 deletion alpine3.16/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.16-6.4.0
FROM quay.io/bfren/alpine-s6:alpine3.16-6.5.0

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache"

Expand Down
2 changes: 1 addition & 1 deletion alpine3.17/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.17-6.4.0
FROM quay.io/bfren/alpine-s6:alpine3.17-6.5.0

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache"

Expand Down
2 changes: 1 addition & 1 deletion alpine3.18/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.18-6.4.0
FROM quay.io/bfren/alpine-s6:alpine3.18-6.5.0

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache"

Expand Down
2 changes: 1 addition & 1 deletion alpine3.19/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.19-6.4.0
FROM quay.io/bfren/alpine-s6:alpine3.19-6.5.0

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache"

Expand Down
2 changes: 1 addition & 1 deletion alpine3.20/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.20-6.4.0
FROM quay.io/bfren/alpine-s6:alpine3.20-6.5.0

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache"

Expand Down
2 changes: 1 addition & 1 deletion alpine3.21/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.21-6.4.0
FROM quay.io/bfren/alpine-s6:alpine3.21-6.5.0

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache"

Expand Down
2 changes: 1 addition & 1 deletion alpine3.22/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.22-6.4.0
FROM quay.io/bfren/alpine-s6:alpine3.22-6.5.0

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache"

Expand Down
2 changes: 1 addition & 1 deletion alpine3.23/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.23-6.4.0
FROM quay.io/bfren/alpine-s6:alpine3.23-6.5.0

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache"

Expand Down
2 changes: 1 addition & 1 deletion alpine3.24/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/bfren/alpine-s6:alpine3.24-6.4.0
FROM quay.io/bfren/alpine-s6:alpine3.24-6.5.0

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-apache"

Expand Down
2 changes: 1 addition & 1 deletion generate-dockerfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -euo pipefail

docker pull bfren/alpine

BASE_VERSION="6.4.0"
BASE_VERSION="6.5.0"
echo "Base: ${BASE_VERSION}"

ALPINE_EDITIONS="3.15 3.16 3.17 3.18 3.19 3.20 3.21 3.22 3.23 3.24"
Expand Down
5 changes: 2 additions & 3 deletions overlay/etc/nu/scripts/bf-apache/mod.nu
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export module conf.nu
export module ctl.nu
export module run.nu
export use conf.nu
export use ctl.nu
26 changes: 0 additions & 26 deletions overlay/etc/nu/scripts/bf-apache/run.nu

This file was deleted.

45 changes: 30 additions & 15 deletions overlay/etc/s6-overlay/s6-rc.d/apache/run
Original file line number Diff line number Diff line change
@@ -1,21 +1,36 @@
#!/bin/withenv sh
#!/usr/bin/nu

set -euo pipefail
use bf
use bf-apache [conf ctl]
use bf-s6
bf env load

# Start Apache as a foreground service
def main [
name: string # The service name, passed by s6-supervise
] {
# set executable name - used to make log output more useful
bf env x_set --override run $name

#======================================================================================================================
# Run preflight checks
#======================================================================================================================

nu -c "use bf-apache run ; run preflight"
# run checks before executing service
ctl starting

# if Apache is already running, exit gracefully
if (ctl is_up) {
bf write debug "Apache is already running."
exit 0
}

#======================================================================================================================
# Start Apache as a foreground service
#
# Flags:
# -D set daemon mode
# -f set configuration file path
#======================================================================================================================
# test Apache configuration
conf test

exec httpd -D FOREGROUND -f "${BF_APACHE_CONF}"
# flags:
# -D set daemon mode
# -f set configuration file path
bf write "Starting Apache in foreground mode."
let args = [
"-D" "FOREGROUND"
"-f" (bf env APACHE_CONF)
]
bf-s6 svc launch httpd ...$args
}
Loading