[bitnami/express] Release 4.18.2-debian-11-r172 (#55247)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2024-01-22 13:04:40 +01:00
committed by GitHub
parent 74a6254dbd
commit 5dd65b0f9d
4 changed files with 36 additions and 8 deletions
+5 -4
View File
@@ -7,10 +7,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2023-12-24T09:57:21Z" \
org.opencontainers.image.created="2024-01-22T10:30:49Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="4.18.2-debian-11-r171" \
org.opencontainers.image.ref.name="4.18.2-debian-11-r172" \
org.opencontainers.image.title="express" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="4.18.2"
@@ -26,8 +26,8 @@ RUN install_packages ca-certificates curl libbz2-1.0 libcom-err2 libcrypt1 libff
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
COMPONENTS=( \
"python-3.11.7-2-linux-${OS_ARCH}-debian-11" \
"wait-for-port-1.0.7-5-linux-${OS_ARCH}-debian-11" \
"node-18.19.0-0-linux-${OS_ARCH}-debian-11" \
"wait-for-port-1.0.7-4-linux-${OS_ARCH}-debian-11" \
"express-4.18.2-17-linux-${OS_ARCH}-debian-11" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
@@ -41,13 +41,14 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
done
RUN apt-get update && apt-get upgrade -y && \
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
COPY rootfs /
RUN mkdir -p /dist /app /.npm /.config /.cache /.local && chmod g+rwX /dist /app /.npm /.config /.cache /.local
RUN /opt/bitnami/scripts/express/postunpack.sh
ENV APP_VERSION="4.18.2" \
BITNAMI_APP_NAME="express" \
PATH="/opt/bitnami/python/bin:/opt/bitnami/node/bin:/opt/bitnami/common/bin:/opt/bitnami/express/bin:$PATH"
PATH="/opt/bitnami/python/bin:/opt/bitnami/common/bin:/opt/bitnami/node/bin:/opt/bitnami/express/bin:$PATH"
EXPOSE 3000
@@ -21,6 +21,6 @@
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "1.0.7-4"
"version": "1.0.7-5"
}
}
@@ -10,7 +10,7 @@ fi
script=$1
exit_code="${2:-96}"
fail_if_not_present="${3:-y}"
fail_if_not_present="${3:-n}"
if test -f "$script"; then
sh $script
+29 -2
View File
@@ -13,8 +13,7 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema
```console
mkdir ~/myapp && cd ~/myapp
curl -LO https://raw.githubusercontent.com/bitnami/containers/main/bitnami/express/docker-compose.yml
docker-compose up
docker run --name express -v ${PWD}/my-project:/app bitnami/express:latest
```
**Warning**: This quick setup is only intended for development environments. You are encouraged to change the insecure default credentials and check out the available configuration options for the [MongoDB&reg; container](https://github.com/bitnami/containers/blob/main/bitnami/mongodb#readme) for a more secure deployment.
@@ -79,6 +78,24 @@ After the Node application server has been launched in the `myapp` service, visi
In addition to the Express Development Container, the [docker-compose.yml](https://raw.githubusercontent.com/bitnami/containers/main/bitnami/express/docker-compose.yml) file also configures a MongoDB&reg; service to serve as the NoSQL database backend of your Express application.
## Environment variables
### Customizable environment variables
| Name | Description | Default Value |
|---------------------------------------------------|-------------------------------------|---------------|
| `EXPRESS_SKIP_DATABASE_WAIT` | Skip waiting for database. | `no` |
| `EXPRESS_SKIP_DATABASE_MIGRATE` | Skip database migration. | `no` |
| `EXPRESS_SKIP_SAMPLE_CODE` | Skip copying sample code. | `no` |
| `EXPRESS_SKIP_NPM_INSTALL` | Skip installation of NPM modules. | `no` |
| `EXPRESS_SKIP_BOWER_INSTALL` | Skip installation of Bower modules. | `no` |
| `EXPRESS_DEFAULT_MARIADB_DATABASE_PORT_NUMBER` | Default MariaDB database port. | `3306` |
| `EXPRESS_DEFAULT_MONGODB_DATABASE_PORT_NUMBER` | Default MongoDB database port. | `27017` |
| `EXPRESS_DEFAULT_MYSQL_DATABASE_PORT_NUMBER` | Default MySQL database port. | `3306` |
| `EXPRESS_DEFAULT_POSTGRESQL_DATABASE_PORT_NUMBER` | Default PostgreSQL database port. | `5432` |
### Read-only environment variables
## Executing commands
Commands can be launched inside the `myapp` Express Development Container with `docker-compose` using the [exec](https://docs.docker.com/compose/reference/exec/) command.
@@ -140,6 +157,16 @@ The Express Development Container generates a Dockerfile in your working directo
3. Update orchestration files to reference the pushed image
## Using `docker-compose.yaml`
Please be aware this file has not undergone internal testing. Consequently, we advise its use exclusively for development or testing purposes.
If you detect any issue in the `docker-compose.yaml` file, feel free to report it or contribute with a fix by following our [Contributing Guidelines](https://github.com/bitnami/containers/blob/main/CONTRIBUTING.md).
## Contributing
We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues) or submitting a [pull request](https://github.com/bitnami/containers/pulls) with your contribution.
## Issues
If you encountered a problem running this container, you can file an [issue](https://github.com/bitnami/containers/issues/new). Be sure to include the following information in your issue: