DockerPack is a small simple local stateful docker-based CI to test and deploy projects that should be built on multiple environments.
Build your own images to build and test your projects faster than cloud CI, as
dockerpack supports build state and you can any time access interactive shell to fix some issues for specified image.
DockerPack saves success build steps to avoid boilerplate rework.
Also dockerpack.yaml syntax almost looks like github actions or CircleCI.
Find latest version in Releases
wget https://github.com/edwardstock/dockerpack/releases/download/{LATEST_VERSION}/dockerpack-{LATEST_VERSION}-[Linux|Darwin]-x86_64.sh
sh dockerpack-{LATEST_VERSION}-[Linux|Darwin]-x86_64.sh --prefix=/usr/local --skip-license
Supported distributions:
- centos 7, 8
- fedora 32-34
Steps:
- Create
bintray-edwardstock.repo
file inside/etc/yum.repos.d
- Add below to this file
[bintray-edwardstock]
name=bintray-edwardstock
baseurl=https://dl.bintray.com/edwardstock/rh/[centos OR fedora]/$releasever/$basearch
gpgcheck=0
repo_gpgcheck=1
enabled=1
- Add repository gpg to trusted
curl -s https://bintray.com/user/downloadSubjectPublicKey?username=bintray | gpg --import
- Update repository
yum -y update
ordnf update
- Install
yum install dockerpack
Supported distributions:
- debian: stretch, buster
- ubuntu: xenial, bionic, focal, groovy
echo "deb https://dl.bintray.com/edwardstock/debian {distribution} main" | sudo tee -a /etc/apt/sources.list
curl -s https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
apt update && apt install dockerpack
- Create dockerpack.yml in your project root. See example config
- run:
dockerpack build # build all jobs
# also see help, there are only few commands
dockerpack -h
- cmake >= 3.12
- gnu gcc 5+/clang 5+/msvc
- make
- toolbox/3.1.1
- boost 1.72.0
- nlohmann/json
- yaml-cpp
- libsodium