From ee5c652da415772f577252faecffd8c5667c9120 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 23 Mar 2022 19:01:06 +0000 Subject: [PATCH] 4.17.3-debian-10-r34 release --- bitnami/express/4/debian-10/Dockerfile | 2 +- bitnami/express/4/debian-10/rootfs/dist/Dockerfile.tpl | 5 +++-- .../4/debian-10/rootfs/opt/bitnami/scripts/libexpress.sh | 4 ++-- bitnami/express/README.md | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/bitnami/express/4/debian-10/Dockerfile b/bitnami/express/4/debian-10/Dockerfile index c497ef91f2a3..166c2be79a90 100644 --- a/bitnami/express/4/debian-10/Dockerfile +++ b/bitnami/express/4/debian-10/Dockerfile @@ -26,7 +26,7 @@ RUN mkdir -p /dist /app /.npm /.config /.cache /.local && chmod g+rwX /dist /app RUN /opt/bitnami/scripts/express/postunpack.sh ENV APP_VERSION="4.17.3" \ BITNAMI_APP_NAME="express" \ - BITNAMI_IMAGE_VERSION="4.17.3-debian-10-r33" \ + BITNAMI_IMAGE_VERSION="4.17.3-debian-10-r34" \ PATH="/opt/bitnami/python/bin:/opt/bitnami/node/bin:/opt/bitnami/sequelize-cli/bin:/opt/bitnami/git/bin:/opt/bitnami/bower/bin:/opt/bitnami/common/bin:/opt/bitnami/express/bin:$PATH" EXPOSE 3000 diff --git a/bitnami/express/4/debian-10/rootfs/dist/Dockerfile.tpl b/bitnami/express/4/debian-10/rootfs/dist/Dockerfile.tpl index 24a8ac7d61aa..faea55bcde06 100644 --- a/bitnami/express/4/debian-10/rootfs/dist/Dockerfile.tpl +++ b/bitnami/express/4/debian-10/rootfs/dist/Dockerfile.tpl @@ -1,5 +1,6 @@ -## Dockerfile for building production image -FROM bitnami/express:{{BITNAMI_IMAGE_VERSION}} +## Dockerfile for building production image. +## Consider replacing below rolling tag by a digest or a immutable tag +FROM bitnami/express:{{APP_VERSION}} LABEL maintainer "John Smith " ENV DISABLE_WELCOME_MESSAGE=1 diff --git a/bitnami/express/4/debian-10/rootfs/opt/bitnami/scripts/libexpress.sh b/bitnami/express/4/debian-10/rootfs/opt/bitnami/scripts/libexpress.sh index e7b68c543b4b..d0830cf26214 100644 --- a/bitnami/express/4/debian-10/rootfs/opt/bitnami/scripts/libexpress.sh +++ b/bitnami/express/4/debian-10/rootfs/opt/bitnami/scripts/libexpress.sh @@ -107,7 +107,7 @@ express_validate() { # None ######################### express_initialize() { - # Devlopers use the /app mountpoint + # Developers use the /app mountpoint if is_dir_empty "/app"; then info "Creating Express application in /app" cd /app || return 1 @@ -154,7 +154,7 @@ express_initialize() { if [[ ! -f Dockerfile ]]; then info "Adding Dockerfile" cp /dist/Dockerfile.tpl Dockerfile - sed -i 's/{{BITNAMI_IMAGE_VERSION}}/'"$BITNAMI_IMAGE_VERSION"'/g' Dockerfile + sed -i 's/{{APP_VERSION}}/'"$APP_VERSION"'/g' Dockerfile [[ ! -f bower.json ]] && sed -i '/^RUN bower install/d' Dockerfile if [[ ! -f .dockerignore ]]; then diff --git a/bitnami/express/README.md b/bitnami/express/README.md index 830f9bda253d..7426eb3d5791 100644 --- a/bitnami/express/README.md +++ b/bitnami/express/README.md @@ -37,7 +37,7 @@ $ docker-compose up Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). -* [`4`, `4-debian-10`, `4.17.3`, `4.17.3-debian-10-r33`, `latest` (4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-express/blob/4.17.3-debian-10-r33/4/debian-10/Dockerfile) +* [`4`, `4-debian-10`, `4.17.3`, `4.17.3-debian-10-r34`, `latest` (4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-express/blob/4.17.3-debian-10-r34/4/debian-10/Dockerfile) Subscribe to project updates by watching the [bitnami/codiad GitHub repo](https://github.com/bitnami/bitnami-docker-codiad).