[bitnami/memcached] Release 1.6.23-debian-11-r1 (#55067)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2024-01-20 01:43:29 +01:00 committed by GitHub
parent 6814252d6b
commit d41c0a0d5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 36 additions and 9 deletions

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="2024-01-10T14:46:11Z" \
org.opencontainers.image.created="2024-01-20T00:00:16Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="1.6.23-debian-11-r0" \
org.opencontainers.image.ref.name="1.6.23-debian-11-r1" \
org.opencontainers.image.title="memcached" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="1.6.23"
@ -41,6 +41,7 @@ RUN apt-get autoremove --purge -y curl && \
apt-get update && apt-get upgrade -y && \
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
RUN chmod g+rwX /opt/bitnami
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
RUN ln -s /opt/bitnami/scripts/memcached/entrypoint.sh /entrypoint.sh
RUN ln -s /opt/bitnami/scripts/memcached/run.sh /run.sh

View File

@ -13,13 +13,6 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema
docker run --name memcached bitnami/memcached:latest
```
### Docker Compose
```console
curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/memcached/docker-compose.yml > docker-compose.yml
docker-compose up -d
```
## Why use Bitnami Images?
* Bitnami closely tracks upstream source changes and promptly publishes new versions of this image using our automated systems.
@ -143,6 +136,33 @@ docker-compose up -d
## Configuration
### Environment variables
#### Customizable environment variables
| Name | Description | Default Value |
|-------------------------|------------------------------------------------------------|---------------|
| `MEMCACHED_PORT_NUMBER` | Port number used by Memcached. | `11211` |
| `MEMCACHED_USERNAME` | Memcached admin username. | `root` |
| `MEMCACHED_MAX_TIMEOUT` | Maximum timeout in seconds for Memcached to start or stop. | `5` |
#### Read-only environment variables
| Name | Description | Value |
|--------------------------|---------------------------------------------|---------------------------------------|
| `MEMCACHED_BASE_DIR` | Memcached installation directory. | `${BITNAMI_ROOT_DIR}/memcached` |
| `MEMCACHED_CONF_DIR` | Memcached configuration directory. | `${MEMCACHED_BASE_DIR}/conf` |
| `MEMCACHED_BIN_DIR` | Memcached directory for binary executables. | `${MEMCACHED_BASE_DIR}/bin` |
| `MEMCACHED_TMP_DIR` | Memcached directory for temporary files. | `${MEMCACHED_BASE_DIR}/tmp` |
| `MEMCACHED_LOGS_DIR` | Memcached directory for logs. | `${MEMCACHED_BASE_DIR}/logs` |
| `MEMCACHED_LOG_FILE` | Path to the Memcached log file. | `${MEMCACHED_LOGS_DIR}/memcached.log` |
| `MEMCACHED_PID_FILE` | Path to the Memcached PID file. | `${MEMCACHED_TMP_DIR}/memcached.pid` |
| `SASL_CONF_PATH` | Memcached SASL configuration directory. | `${MEMCACHED_CONF_DIR}/sasl2` |
| `SASL_CONF_FILE` | Memcached SASL configuration | `${SASL_CONF_PATH}/memcached.conf` |
| `SASL_DB_FILE` | Memcached SASL database file. | `${SASL_CONF_PATH}/memcachedsasldb` |
| `MEMCACHED_DAEMON_USER` | Memcached system user. | `memcached` |
| `MEMCACHED_DAEMON_GROUP` | Memcached system group. | `memcached` |
### Specify the cache size
By default, the Bitnami Memcached container will not specify any cache size and will start with Memcached defaults (64MB). You can specify a different value with the `MEMCACHED_CACHE_SIZE` environment variable (in MB).
@ -366,6 +386,12 @@ docker-compose up memcached
* The logs are always sent to the `stdout` and are no longer collected in the volume.
## 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. For production-ready deployments, we highly recommend utilizing its associated [Bitnami Helm chart](https://github.com/bitnami/charts/tree/main/bitnami/memcached).
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.