Update the Broker
Bearer regularly updates the Broker in order to provide new features, bug fixes, and more. Our full list of versions and their release notes are available on Docker hub.

Git repository (SCM) integration

Run docker pull bearersh/broker:latest to pull the latest image.
Alternatively, you can run docker pull bearersh/broker:v3.0.0 to be on the latest version.

CI/CD integration

You can specify the version in the Dockerfile:
1
FROM ubuntu:latest
2
3
ARG VERSION=latest # Specify the version here e.g v3.1.0 see <https://hub.docker.com/r/bearersh/broker/tags>
4
5
# git is a required dependency for the broker to work
6
RUN apt-get update && apt-get -y install curl unzip git
7
8
RUN echo "using version ${VERSION}"
9
10
RUN mkdir /app
11
12
RUN curl https://bearer-cli-binaries.s3.eu-west-1.amazonaws.com/${VERSION}/bearer-broker_linux_amd64.zip --output /app/bearer.zip
13
14
WORKDIR /app
15
16
RUN unzip /app/bearer.zip
17
18
ADD ./entrypoint.sh /app/entrypoint.sh
19
20
RUN chmod u+x -R /app
21
22
ENTRYPOINT ["/app/entrypoint.sh"]
Copied!