Skip to content

Installation

Nick Irvine edited this page Feb 7, 2019 · 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"]

Debian/Ubuntu from packagecloud.io

We publish apt-get installable .debs on packagecloud.io.

Warning: curling to bash has all the usual caveats. packagecloud has more detailed instructions.

curl -s https://packagecloud.io/install/repositories/segment/chamber/script.deb.sh | sudo bash
apt-get install -y chamber

Fedora from packagecloud.io

We publish yum installable .rpms on packagecloud.io.

Warning: curling to bash has all the usual caveats. packagecloud has more detailed instructions.

curl -s https://packagecloud.io/install/repositories/segment/chamber/script.rpm.sh | sudo bash
yum install -y chamber

Linux binaries

Our Github release page has binaries.

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

macOS binaries

Our Github release page has binaries.

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

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.

Unofficial Alpine packages

Cloud Posse host an Alpine repo that includes chamber, where you can find more detailed instructions. TLDR for a 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

Clone this wiki locally