Skip to content
This repository has been archived by the owner on May 1, 2022. It is now read-only.

Let waypoint run in a container because there is no AUR

License

Notifications You must be signed in to change notification settings

sebastiangaiser/waypoint-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

waypoint-docker

semantic-release

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.

Usage

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>

Version matrix

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

How to run it without the docker run command?

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

Development

Build a new version of the docker image

docker build --build-arg USER=$USER --build-arg DOCKER_GID=$(cut -d: -f3 < <(getent group docker)) -t sebastiangaiser/waypoint:<version> .

Build a new release

For building a new release with semantic-release you have to export GH_TOKEN=<PersonalAccessToken>.

npx semantic-release --no-ci

About

Let waypoint run in a container because there is no AUR

Resources

License

Stars

Watchers

Forks

Packages

No packages published