mirror of https://github.com/on4kjm/FLEcli.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
754 B
754 B
Building docker image by hand
docker build -t fle_cli .
goReleaser built Docker images
goreleaser --snapshot --skip-publish --rm-dist
- docker image is named "jmmeessen/flecli". It creates two labels automatically ("latest" and the last release)
Running the container
-
docker run --rm -i fle_cli version -d
-
docker run --rm -i -v "$(pwd)":/FLEcli_data fle_cli version -d
-
docker run --rm -i jmmeessen/flecli version -d
-
docker run --rm -i --user $(id -u):$(id -g) -v $(pwd):/FLEcli_data jmmeessen/flecli
. -
alias FLEcli="docker run --rm --user $(id -u):$(id -g) -v $(pwd):/FLEcli_data jmmeessen/flecli"
Running bash in the container
docker run --rm -i -v "$(pwd)":/FLEcli_data --entrypoint /bin/sh fle_cli