In March 2021, there is no AUR (Arch User Repository) with the latest version for Waypoint available. So I decided to let Waypoint run in a docker container instead of running a local binary. This docker image is pushed to dockerhub.
Run waypoint with the following command.
Note that the default entrypoint is set to waypoint
.
So you only have to replace <command>
with some subcommand like version
to perform a waypoint version
.
docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -v "$PWD:$PWD" -w $PWD -v "$HOME:/home/$USER" --privileged sebastiangaiser/waypoint <command>
Release / Waypoint | v0.2.3 | v0.2.4 | v0.3.0 | v0.3.1 |
---|---|---|---|---|
v0.1.0 | x | |||
v0.2.0 | x | |||
v0.3.0 | x | |||
v0.4.0 | x | |||
v0.5.0 | x | |||
v0.6.0 | x |
You can specify a direct alias or an alias with a script:
Alias:
# Waypoint
alias waypoint="~/.waypoint-cmd.sh"
Script:
#!/bin/zsh
docker run --rm --name waypoint -it --network host -v /var/run/docker.sock:/var/run/docker.sock -v "$PWD:$PWD" -w $PWD -v "$HOME:/home/$USER" --privileged sebastiangaiser/waypoint "$@"
Note: This is only testet with ZSH
docker build --build-arg USER=$USER --build-arg DOCKER_GID=$(cut -d: -f3 < <(getent group docker)) -t sebastiangaiser/waypoint:<version> .
For building a new release with semantic-release you have to export GH_TOKEN=<PersonalAccessToken>
.
npx semantic-release --no-ci