This repository contains infrastructure for building docker images containing Cobalt binaries.
The docker image is based on alpine image. cobalt binary in the
image is statically linked with musl.
Structure:
Makefile- git submodule
cobalt.rs Dockerfile
We use Makefile for automating docker image build process. git
submodule cobalt.rs contains Cobalt source code. Image version is
taken from submodule using git descrbie --tags.
- make
- docker client (available without
sudo)
Don't forget to checkout cobalt.rs submodule:
git submodule init && git submodule updateBuild docker images:
makePublish docker image:
make pushPublish docker image as latest:
make push-latestLong story shot, in order to release a new version one needs to:
- update submodule so it points to a correct tag
- build image using
make - push image using
make push(and optionallymake push-latest)