Skip to content

Commit

Permalink
Add lucee-light@5 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jclausen committed Apr 3, 2024
1 parent 2d3a949 commit 4683c31
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
BUILD_IMAGE_TAG: lucee5
- BUILD_IMAGE_DOCKERFILE: builds/debian/LuceeLight.Dockerfile
BUILD_IMAGE_TAG: lucee-light
- BUILD_IMAGE_DOCKERFILE: builds/debian/Lucee5Light.Dockerfile
BUILD_IMAGE_TAG: lucee5-light
- BUILD_IMAGE_DOCKERFILE: builds/debian/Adobe2018.Dockerfile
BUILD_IMAGE_TAG: adobe2018
- BUILD_IMAGE_DOCKERFILE: builds/debian/Adobe2021.Dockerfile
Expand All @@ -48,6 +50,8 @@ jobs:
BUILD_IMAGE_TAG: lucee5-ubi9
- BUILD_IMAGE_DOCKERFILE: builds/ubi9/LuceeLight.Dockerfile
BUILD_IMAGE_TAG: lucee-light-ubi9
- BUILD_IMAGE_DOCKERFILE: builds/ubi9/Lucee5Light.Dockerfile
BUILD_IMAGE_TAG: lucee5-light-ubi9
- BUILD_IMAGE_DOCKERFILE: builds/ubi9/Adobe2018.Dockerfile
BUILD_IMAGE_TAG: adobe2018-ubi9
- BUILD_IMAGE_DOCKERFILE: builds/ubi9/Adobe2021.Dockerfile
Expand All @@ -71,6 +75,8 @@ jobs:
BUILD_IMAGE_TAG: lucee5-alpine
- BUILD_IMAGE_DOCKERFILE: builds/alpine/LuceeLight.Dockerfile
BUILD_IMAGE_TAG: lucee-light-alpine
- BUILD_IMAGE_DOCKERFILE: builds/alpine/LuceeLight.Dockerfile

This comment has been minimized.

Copy link
@wphampton

wphampton Apr 10, 2024

Contributor

I think perhaps this should be Lucee5Light.Dockerfile

BUILD_IMAGE_TAG: lucee5-light-alpine
- BUILD_IMAGE_DOCKERFILE: builds/alpine/Adobe2018.Dockerfile
BUILD_IMAGE_TAG: adobe2018-alpine
- BUILD_IMAGE_DOCKERFILE: builds/alpine/Adobe2021.Dockerfile
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Tags
_Note: For references to the specific versions of CommandBox used within image versions, [please see the Changelog](https://github.com/Ortus-Solutions/docker-commandbox/blob/main/changelog.md)._

* `:latest` ([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/base/Dockerfile)) - Latest stable version
* `:3.9.0` - Tagged version of the image - not to be confused with the version of CommandBox within the image
* `:3.9.2` - Tagged version of the image - not to be confused with the version of CommandBox within the image
* `:snapshot` - Development/BE version
* `:[tag]-snapshot` - Development/BE version of a tagged variations (e.g. - `:adobe2021-snapshot`)
* `:jdk8` - Base image using OpenJDK8
Expand All @@ -27,11 +27,11 @@ _Note: For references to the specific versions of CommandBox used within image v
* `:jdk17` - Base image using OpenJDK17 full JDK
* `:alpine` ([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/base/Alpine.Dockerfile)) - [Alpine Linux](https://alpinelinux.org/about/) version of the image - slight decrease in overall size and optimizations for containerized runtimes
* `:ubi9` ([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/base/ubi9.Dockerfile)) - [RHEL Universal Base Image](https://catalog.redhat.com/software/containers/ubi9/ubi/615bcf606feffc5384e8452e) version of the image
* `:[engine][version]` - Containers with warmed-up engines - saves having to download the server WAR during container start: `:lucee5`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/debian/Lucee5.Dockerfile)), `:lucee-light`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/debian/LuceeLight.Dockerfile)), `:adobe2018`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/debian/Adobe2018.Dockerfile)), `:adobe2021`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/debian/Adobe2021.Dockerfile)), `:adobe2023`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/debian/Adobe2023.Dockerfile))
* `:[engine][version]` - Containers with warmed-up engines - saves having to download the server WAR during container start: `:lucee5`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/debian/Lucee5.Dockerfile)), `:lucee-light`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/debian/LuceeLight.Dockerfile)), `:lucee5-light`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/debian/Lucee5Light.Dockerfile)), `:adobe2018`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/debian/Adobe2018.Dockerfile)), `:adobe2021`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/debian/Adobe2021.Dockerfile)), `:adobe2023`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/debian/Adobe2023.Dockerfile))
* `:[engine][version]-alpine` - Alpine linux versions of the image with warmed-up engines:
`:lucee5-alpine`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/alpine/Lucee5.Dockerfile)), `:lucee-light-alpine`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/alpine/LuceeLight.Dockerfile)), `:adobe2018-alpine`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/alpine/Adobe2018.Dockerfile)), `:adobe2021-alpine`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/alpine/Adobe2021.Dockerfile))
`:lucee5-alpine`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/alpine/Lucee5.Dockerfile)), `:lucee-light-alpine`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/alpine/LuceeLight.Dockerfile)), `:lucee5-light-alpine`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/alpine/Lucee5Light.Dockerfile)), `:adobe2018-alpine`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/alpine/Adobe2018.Dockerfile)), `:adobe2021-alpine`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/alpine/Adobe2021.Dockerfile))
* `:[engine][version]-ubi9` - RHEL ubi9 versions of the image with warmed-up engines:
`:lucee5-ubi9`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/ubi9/Lucee5.Dockerfile)), `:lucee-light-ubi9`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/ubi9/LuceeLight.Dockerfile)), `:adobe2018-ubi9`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/ubi9/Adobe2018.Dockerfile)), `:adobe2021-ubi9`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/ubi9/Adobe2021.Dockerfile))
`:lucee5-ubi9`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/ubi9/Lucee5.Dockerfile)), `:lucee-light-ubi9`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/ubi9/LuceeLight.Dockerfile)), `:lucee5-light-ubi9`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/ubi9/Lucee5Light.Dockerfile)), `:adobe2018-ubi9`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/ubi9/Adobe2018.Dockerfile)), `:adobe2021-ubi9`([Dockerfile](https://github.com/Ortus-Solutions/docker-commandbox/blob/master/builds/ubi9/Adobe2021.Dockerfile))

_*Note*: The `:latest` tag currently uses OpenJDK11, as do all other pre-built engine images. If you required JDK 8 or JDK 17 support in your app or engine, use the `:jdk8` or `:jdk17` tags, respectively._

Expand Down Expand Up @@ -116,7 +116,7 @@ The following environment variables may be provided to modify your runtime serve
* `BOX_SERVER_RUNWAR_CONSOLE_APPENDERLAYOUT` - When setting this to `JSONTemplateLayout`, the log output of the container will be in [`ndjson`](http://ndjson.org/). For more information on this setting, please see [the CommandBox documentation on customizing log layouts](https://commandbox.ortusbooks.com/embedded-server/configuring-your-server/console-log-layout#customize-layout)
* `FINALIZE_STARTUP` - When provided a final startup script will be generated, which will be considered authoritative the next time the container/image starts. The caveat to this, however, is that the finalized startup script will bypass the evaluation checks for all of the other environment variables in this list as those values will be explicitly exported in the startup file.
* `BOX_SERVER_PROFILE` - When set, this will be applied as the runtime [CommandBox server profile](https://commandbox.ortusbooks.com/embedded-server/configuring-your-server/server-profiles). By default, CommandBox will set this value to the `production` mode, since the container server binds to all interfaces on `0.0.0.0`. If you wish a lower level of security, you will need to provide this variable or set it in your `server.json` file.
* `BOX_SERVER_WEB_REWRITES_ENABLE` - A boolean value, specifying whether URL rewrites will be enabled/disabled on the server. Rewrite configurations provided within the app's `server.json` file will supersede this argument.
* `BOX_SERVER_WEB_REWRITES_ENABLE` - A boolean value, specifying whether URL rewrites will be enabled/disabled on the server. Setting this environment variable will overwrite any settings within the app's `server.json` file.
* `CFPM_INSTALL` and `CFPM_UNINSTALL` - Supported for Adobe Coldfusion 2021 engines. When provided as a delimited list of [Coldfusion Package Manager](https://helpx.adobe.com/coldfusion/using/coldfusion-package-manager.html) packages, these will be installed ( or uninstalled, respectively ), prior to the server start. A warmed-up server is required to use these variables.
* `BOX_INSTALL`/`box_install` - When set to true, the `box install` command will be run before the server is started to ensure any dependencies configured in your `box.json` file are installed

Expand Down
4 changes: 2 additions & 2 deletions builds/alpine/Lucee5.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ INCLUDE+ builds/base/Alpine.Dockerfile
LABEL maintainer "Jon Clausen <[email protected]>"
LABEL repository "https://github.com/Ortus-Solutions/docker-commandbox"

ENV BOX_SERVER_APP_CFENGINE [email protected].3+2
ENV BOX_SERVER_APP_CFENGINE [email protected].4+38

ENV LUCEE_EXTENSIONS D062D72F-F8A2-46F0-8CBC91325B2F067B;version=6.3.2
ENV LUCEE_EXTENSIONS D062D72F-F8A2-46F0-8CBC91325B2F067B;version=6.5.2

# WARM UP THE SERVER - we skip the declaration so that the default installed Lucee server will be used
RUN ${BUILD_DIR}/util/warmup-server.sh
11 changes: 11 additions & 0 deletions builds/alpine/Lucee5Light.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax = edrevo/dockerfile-plus
INCLUDE+ builds/base/Alpine.Dockerfile

LABEL maintainer "Jon Clausen <[email protected]>"
LABEL repository "https://github.com/Ortus-Solutions/docker-commandbox"

#Hard Code our engine environment
ENV BOX_SERVER_APP_CFENGINE lucee-light@5

# WARM UP THE SERVER
RUN ${BUILD_DIR}/util/warmup-server.sh
11 changes: 11 additions & 0 deletions builds/debian/Lucee5Light.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax = edrevo/dockerfile-plus
INCLUDE+ builds/base/Dockerfile

LABEL maintainer "Jon Clausen <[email protected]>"
LABEL repository "https://github.com/Ortus-Solutions/docker-commandbox"

#Hard Code our engine environment
ENV BOX_SERVER_APP_CFENGINE lucee-light@5

# WARM UP THE SERVER
RUN ${BUILD_DIR}/util/warmup-server.sh
11 changes: 11 additions & 0 deletions builds/ubi9/Lucee5Light.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax = edrevo/dockerfile-plus
INCLUDE+ builds/base/ubi9.Dockerfile

LABEL maintainer "Jon Clausen <[email protected]>"
LABEL repository "https://github.com/Ortus-Solutions/docker-commandbox"

#Hard Code our engine environment
ENV BOX_SERVER_APP_CFENGINE lucee-light@5

# WARM UP THE SERVER
RUN ${BUILD_DIR}/util/warmup-server.sh

0 comments on commit 4683c31

Please sign in to comment.