mirror of
https://github.com/bitnami/containers.git
synced 2026-04-04 16:27:46 +08:00
3.6.11-r0 release
Update rabbitmq to 3.6.11.
This commit is contained in:
@@ -1,17 +1,15 @@
|
||||
FROM bitnami/minideb-extras:jessie-r19
|
||||
FROM bitnami/minideb-extras:jessie-r21
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages libc6 libssl1.0.0 libtinfo5 zlib1g
|
||||
RUN bitnami-pkg install erlang-19.3-0 --checksum f5af3ad6e91a63827a211167debd7213ff7643d67f4467944681309fad6c6a68
|
||||
RUN bitnami-pkg unpack rabbitmq-3.6.10-0 --checksum 04d8e21b6f1b1fa265c36933bf38de2707722c78a3e9db080a3d73c356749d7d
|
||||
RUN bitnami-pkg install erlang-19.3.0-0 --checksum 7cb86885f3f0992f8f55f61680e548056ed105a5f1c63e239dc9d283a00d5a14
|
||||
RUN bitnami-pkg unpack rabbitmq-3.6.11-0 --checksum 708e8db0f75a205268121fe5c5141d690ec3700150c09c6e5f79749551363965
|
||||
|
||||
COPY rootfs /
|
||||
|
||||
ENV BITNAMI_APP_NAME="rabbitmq" \
|
||||
BITNAMI_IMAGE_VERSION="3.6.10-r2" \
|
||||
BITNAMI_IMAGE_VERSION="3.6.11-r0" \
|
||||
PATH="/opt/bitnami/erlang/bin:/opt/bitnami/rabbitmq/bin:/opt/bitnami/rabbitmq/sbin:$PATH" \
|
||||
RABBITMQ_CLUSTER_NODE_NAME="" \
|
||||
RABBITMQ_ERLANG_COOKIE="" \
|
||||
@@ -23,9 +21,6 @@ ENV BITNAMI_APP_NAME="rabbitmq" \
|
||||
RABBITMQ_USERNAME="user" \
|
||||
RABBITMQ_VHOST="/"
|
||||
|
||||
|
||||
|
||||
|
||||
EXPOSE 4369 5672 25672 15672
|
||||
|
||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[](https://circleci.com/gh/bitnami/bitnami-docker-rabbitmq/tree/master)
|
||||
[](http://slack.oss.bitnami.com)
|
||||
[](http://slack.oss.bitnami.com)
|
||||
[](https://raw.githubusercontent.com/bitnami/bitnami-docker-rabbitmq/master/kubernetes.yml)
|
||||
|
||||
# What is RabbitMQ?
|
||||
@@ -13,13 +13,13 @@
|
||||
|
||||
# TL;DR;
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker run --name rabbitmq bitnami/rabbitmq:latest
|
||||
```
|
||||
|
||||
## Docker Compose
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-rabbitmq/master/docker-compose.yml > docker-compose.yml
|
||||
$ docker-compose up -d
|
||||
```
|
||||
@@ -30,7 +30,7 @@ $ docker-compose up -d
|
||||
|
||||
Get the raw URL pointing to the `kubernetes.yml` manifest and use `kubectl` to create the resources on your Kubernetes cluster like so:
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ kubectl create -f https://raw.githubusercontent.com/bitnami/bitnami-docker-rabbitmq/master/kubernetes.yml
|
||||
```
|
||||
|
||||
@@ -46,19 +46,19 @@ $ kubectl create -f https://raw.githubusercontent.com/bitnami/bitnami-docker-rab
|
||||
|
||||
The recommended way to get the Bitnami RabbitMQ Docker Image is to pull the prebuilt image from the [Docker Hub Registry](https://hub.docker.com/r/bitnami/rabbitmq).
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker pull bitnami/rabbitmq:latest
|
||||
```
|
||||
|
||||
To use a specific version, you can pull a versioned tag. You can view the [list of available versions](https://hub.docker.com/r/bitnami/rabbitmq/tags/) in the Docker Hub Registry.
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker pull bitnami/rabbitmq:[TAG]
|
||||
```
|
||||
|
||||
If you wish, you can also build the image yourself.
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker build -t bitnami/rabbitmq:latest https://github.com/bitnami/bitnami-docker-rabbitmq.git
|
||||
```
|
||||
|
||||
@@ -68,7 +68,7 @@ If you remove the container all your data and configurations will be lost, and t
|
||||
|
||||
For persistence you should mount a directory at the `/bitnami` path. If the mounted directory is empty, it will be initialized on the first run.
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker run \
|
||||
-v /path/to/rabbitmq-persistence:/bitnami \
|
||||
bitnami/rabbitmq:latest
|
||||
@@ -95,7 +95,7 @@ In this example, we will create a RabbitMQ client instance that will connect to
|
||||
|
||||
### Step 1: Create a network
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker network create app-tier --driver bridge
|
||||
```
|
||||
|
||||
@@ -103,7 +103,7 @@ $ docker network create app-tier --driver bridge
|
||||
|
||||
Use the `--network app-tier` argument to the `docker run` command to attach the RabbitMQ container to the `app-tier` network.
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker run -d --name rabbitmq-server \
|
||||
--network app-tier \
|
||||
bitnami/rabbitmq:latest
|
||||
@@ -113,7 +113,7 @@ $ docker run -d --name rabbitmq-server \
|
||||
|
||||
Finally we create a new container instance to launch the RabbitMQ client and connect to the server created in the previous step:
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker run -it --rm \
|
||||
--network app-tier \
|
||||
bitnami/rabbitmq:latest rabbitmqctl -n rabbit@rabbitmq-server status
|
||||
@@ -148,7 +148,7 @@ services:
|
||||
|
||||
Launch the containers using:
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker-compose up -d
|
||||
```
|
||||
|
||||
@@ -307,7 +307,7 @@ The image looks for configurations in `/bitnami/rabbitmq/conf/`. As mentioned in
|
||||
|
||||
Run the RabbitMQ image, mounting a directory from your host.
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker run --name rabbitmq -v /path/to/rabbitmq-persistence:/bitnami bitnami/rabbitmq:latest
|
||||
```
|
||||
|
||||
@@ -329,7 +329,7 @@ services:
|
||||
|
||||
Edit the configuration on your host using your favorite editor.
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ vi /path/to/rabbitmq-persistence/rabbitmq/conf/rabbitmq.config
|
||||
```
|
||||
|
||||
@@ -337,13 +337,13 @@ $ vi /path/to/rabbitmq-persistence/rabbitmq/conf/rabbitmq.config
|
||||
|
||||
After changing the configuration, restart your RabbitMQ container for changes to take effect.
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker restart rabbitmq
|
||||
```
|
||||
|
||||
or using Docker Compose:
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker-compose restart rabbitmq
|
||||
```
|
||||
|
||||
@@ -351,13 +351,13 @@ $ docker-compose restart rabbitmq
|
||||
|
||||
The Bitnami RabbitMQ Docker image sends the container logs to the `stdout`. To view the logs:
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker logs rabbitmq
|
||||
```
|
||||
|
||||
or using Docker Compose:
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker-compose logs rabbitmq
|
||||
```
|
||||
|
||||
@@ -371,7 +371,7 @@ Bitnami provides up-to-date versions of RabbitMQ, including security patches, so
|
||||
|
||||
### Step 1: Get the updated image
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker pull bitnami/rabbitmq:latest
|
||||
```
|
||||
|
||||
@@ -382,31 +382,31 @@ or if you're using Docker Compose, update the value of the image property to
|
||||
|
||||
Stop the currently running container using the command
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker stop rabbitmq
|
||||
```
|
||||
|
||||
or using Docker Compose:
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker-compose stop rabbitmq
|
||||
```
|
||||
|
||||
Next, take a snapshot of the persistent volume `/path/to/rabbitmq-persistence` using:
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ rsync -a /path/to/rabbitmq-persistence /path/to/rabbitmq-persistence.bkp.$(date +%Y%m%d-%H.%M.%S)
|
||||
```
|
||||
|
||||
### Step 3: Remove the currently running container
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker rm -v rabbitmq
|
||||
```
|
||||
|
||||
or using Docker Compose:
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker-compose rm -v rabbitmq
|
||||
```
|
||||
|
||||
@@ -414,13 +414,13 @@ $ docker-compose rm -v rabbitmq
|
||||
|
||||
Re-create your container from the new image.
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker run --name rabbitmq bitnami/rabbitmq:latest
|
||||
```
|
||||
|
||||
or using Docker Compose:
|
||||
|
||||
```console
|
||||
```bash
|
||||
$ docker-compose start rabbitmq
|
||||
```
|
||||
|
||||
|
||||
@@ -1,32 +1,56 @@
|
||||
machine:
|
||||
services:
|
||||
- docker
|
||||
environment:
|
||||
RELEASE_SERIES_LIST: 3
|
||||
LATEST_STABLE: 3
|
||||
IMAGE_NAME: rabbitmq
|
||||
CHART_NAME: rabbitmq
|
||||
CHART_REPO: https://github.com/kubernetes/charts
|
||||
DOCKER_PROJECT: bitnami
|
||||
QUAY_PROJECT: bitnami
|
||||
GCLOUD_PROJECT: bitnami-containers
|
||||
version: 2
|
||||
jobs:
|
||||
build:
|
||||
working_directory: /workdir
|
||||
docker:
|
||||
- image: docker:17.06.0-ce-git
|
||||
environment:
|
||||
RELEASE_SERIES_LIST: "3"
|
||||
LATEST_STABLE: "3"
|
||||
IMAGE_NAME: rabbitmq
|
||||
CHART_NAME: rabbitmq
|
||||
CHART_REPO: https://github.com/kubernetes/charts
|
||||
DOCKER_PROJECT: bitnami
|
||||
QUAY_PROJECT: bitnami
|
||||
GCLOUD_PROJECT: bitnami-containers
|
||||
|
||||
dependencies:
|
||||
override:
|
||||
- docker info
|
||||
- gcloud version
|
||||
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-pull-cache.sh | bash -
|
||||
|
||||
test:
|
||||
override:
|
||||
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-image-test.sh | bash -
|
||||
steps:
|
||||
- checkout
|
||||
- setup_remote_docker:
|
||||
version: 17.06.0-ce
|
||||
- run:
|
||||
name: Install dependencies
|
||||
command: |
|
||||
apk add --no-cache curl bash coreutils
|
||||
- run:
|
||||
name: Docker info
|
||||
command: |
|
||||
docker version
|
||||
docker info
|
||||
- restore_cache:
|
||||
keys:
|
||||
- cache-{{ .Branch }}
|
||||
paths:
|
||||
- /cache/layers.tar
|
||||
- run:
|
||||
name: Build docker image
|
||||
command: |
|
||||
curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-image-test.sh | bash -
|
||||
- save_cache:
|
||||
key: cache-{{ .Branch }}-{{ epoch }}
|
||||
paths:
|
||||
- /cache/layers.tar
|
||||
- deploy:
|
||||
name: Publish docker image
|
||||
command: |
|
||||
if [ -n "${CIRCLE_TAG}" ]; then
|
||||
curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-release-image.sh | bash -
|
||||
elif [ "${CIRCLE_BRANCH}" == "master" ]; then
|
||||
curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-development-image.sh | bash -
|
||||
fi
|
||||
|
||||
deployment:
|
||||
development:
|
||||
branch: master
|
||||
commands:
|
||||
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-development-image.sh | bash -
|
||||
release:
|
||||
tag: /^[0-9].*-r[0-9]+$/
|
||||
commands:
|
||||
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-release-image.sh | bash -
|
||||
- echo "workaround make tags run in 2.0 - https://discuss.circleci.com/t/git-tag-deploys-in-2-0/9493/8"
|
||||
|
||||
Reference in New Issue
Block a user