Skip to content

Installation

Enrico Alvarenga edited this page Apr 12, 2022 · 14 revisions

From a Docker image

FROM segment/chamber:2 AS chamber
FROM scratch

COPY --from=chamber /chamber /bin/chamber

COPY ./myapp /bin/myapp

ENTRYPOINT ["/bin/chamber", "exec", "myapp", "--", "/bin/myapp"]

Linux binaries

Our Github release page has binaries.

For amd64-based CPU:

curl -LOs https://github.com/segmentio/chamber/releases/download/${version}/chamber-${version}-linux-amd64

For arm64-based CPU:

curl -LOs https://github.com/segmentio/chamber/releases/download/${version}/chamber-${version}-linux-arm64

macOS binaries

Our Github release page has binaries.

For amd64-based CPU:

curl -LOs https://github.com/segmentio/chamber/releases/download/${version}/chamber-${version}-darwin-amd64

For arm64-based CPU:

curl -LOs https://github.com/segmentio/chamber/releases/download/${version}/chamber-${version}-darwin-arm64

Unofficial Alpine packages

Cloud Posse host an Alpine repo that includes chamber, where you can find more detailed instructions. TLDR for Dockerfile:

ADD https://apk.cloudposse.com/[email protected] /etc/apk/keys/
RUN echo "@cloudposse https://apk.cloudposse.com/3.8/vendor" >> /etc/apk/repositories
RUN apk add chamber

Unofficial Homebrew formula

Homebrew has a formula for chamber. It is not maintained by the chamber team.

brew install chamber

Advanced: go get

If you have a reasonable go development environment set up, you should be able to install using go get -u github.com/segmentio/chamber. We support go get on all currently stable releases of Go.

Clone this wiki locally