[bitnami/rails] Release 7.1.3-debian-11-r0 (#54827)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2024-01-17 02:55:09 +01:00
committed by GitHub
parent d313fb6ff7
commit 8c55ab4c16
5 changed files with 35 additions and 13 deletions

View File

@@ -7,13 +7,13 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2024-01-03T08:57:49Z" \
org.opencontainers.image.created="2024-01-17T01:06:16Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="7.1.2-debian-11-r6" \
org.opencontainers.image.ref.name="7.1.3-debian-11-r0" \
org.opencontainers.image.title="rails" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="7.1.2"
org.opencontainers.image.version="7.1.3"
ENV OS_ARCH="${TARGETARCH:-amd64}" \
OS_FLAVOUR="debian-11" \
@@ -29,8 +29,8 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
"ruby-3.2.2-9-linux-${OS_ARCH}-debian-11" \
"node-18.19.0-0-linux-${OS_ARCH}-debian-11" \
"mysql-client-10.11.6-1-linux-${OS_ARCH}-debian-11" \
"wait-for-port-1.0.7-4-linux-${OS_ARCH}-debian-11" \
"rails-7.1.2-2-linux-${OS_ARCH}-debian-11" \
"wait-for-port-1.0.7-5-linux-${OS_ARCH}-debian-11" \
"rails-7.1.3-0-linux-${OS_ARCH}-debian-11" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@@ -47,7 +47,7 @@ RUN /build/bitnami-user.sh
COPY rootfs /
RUN /opt/bitnami/scripts/rails/postunpack.sh
ENV APP_VERSION="7.1.2" \
ENV APP_VERSION="7.1.3" \
BITNAMI_APP_NAME="rails" \
PATH="/opt/bitnami/python/bin:/opt/bitnami/ruby/bin:/opt/bitnami/node/bin:/opt/bitnami/mysql/bin:/opt/bitnami/common/bin:$PATH"

View File

@@ -21,7 +21,7 @@
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "7.1.2-2"
"version": "7.1.3-0"
},
"ruby": {
"arch": "amd64",
@@ -33,6 +33,6 @@
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "1.0.7-4"
"version": "1.0.7-5"
}
}

View File

@@ -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

View File

@@ -1,5 +1,5 @@
rolling-tags:
- "7"
- 7-debian-11
- 7.1.2
- 7.1.3
- latest

View File

@@ -12,9 +12,7 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema
### Local workspace
```console
mkdir ~/myapp && cd ~/myapp
curl -LO https://raw.githubusercontent.com/bitnami/containers/main/bitnami/rails/docker-compose.yml
docker-compose up
docker run --name rails bitnami/rails: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 [MariaDB container](https://github.com/bitnami/containers/blob/main/bitnami/mariadb#readme) for a more secure deployment.
@@ -135,6 +133,24 @@ Following are a few examples of launching some commonly used Rails development c
> $ docker-compose restart myapp
> ```
## Environment variables
### Customizable environment variables
| Name | Description | Default Value |
|------------------------------|----------------------------------------|-----------------|
| `RAILS_ENV` | Rails environment mode. | `development` |
| `RAILS_SKIP_ACTIVE_RECORD` | Skip active record configuration. | `no` |
| `RAILS_SKIP_DB_SETUP` | Skip database configuration. | `no` |
| `RAILS_SKIP_DB_WAIT` | Skip waiting for database to be ready. | `no` |
| `RAILS_RETRY_ATTEMPTS` | Rails retry attempts. | `30` |
| `RAILS_DATABASE_TYPE` | Database server type. | `mariadb` |
| `RAILS_DATABASE_HOST` | Database server host. | `mariadb` |
| `RAILS_DATABASE_PORT_NUMBER` | Database server port. | `3306` |
| `RAILS_DATABASE_NAME` | Database name. | `bitnami_myapp` |
### Read-only environment variables
## Configuring your database
You can configure the MariaDB hostname and database name to use for development purposes using the environment variables **DATABASE_HOST** & **DATABASE_NAME**.
@@ -197,6 +213,12 @@ When the `myapp` service container is restarted, it will install all the missing
* Decrease the size of the container. The configuration logic is now based on Bash scripts in the `rootfs/` folder.
## 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/new) or submitting a [pull request](https://github.com/bitnami/containers/pulls/new) with your contribution.