Designed to be run directly without having to create different dockerfiles for web applications that do not need some type of engine.
If you need either PHP or Tomcat:
Ubuntu Server LTS
Updated weekly from the official upstream Ubuntu LTS image
apache2
ca-certificates
curl
gnupg
jq
libapache2-mod-jk
openssl
tzdata
unzip
wget
headers
remoteip
rewrite
ssl
unique_id
info
jk
status
see Ocie Environment for more info
docker run --entrypoint /usr/sbin/ociectl -d bshp/apache2:latest --run
Add at end of your entrypoint script either of:
/usr/sbin/ociectl --run;
/usr/sbin/apachectl -k start -D FOREGROUND;
VERSION = Ubuntu version to build, e.g 22.04, 24.04
docker build . --pull --build-arg VERSION=22.04 --tag YOUR_TAG