Skip to content

Simple alpine docker image for CICD ops with bash, redis, python, curl, jq, jo, and yq. Run bash, python scripts, cURL ops, manipulate JSON and YAML!

Notifications You must be signed in to change notification settings

bitsofinfo/cicd-toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

cicd-toolbox

Simple alpine Docker image with bash, redis, curl, jq, jo, python (3), git, ssh and yq. Do cURL ops, manipulate JSON and YAML!

Uses alpine packages for redis, curl, python (3), jq, jo (edge) and bash, manually grabs latest yq release from: https://github.com/mikefarah/yq/

Current versions (as of this branch/tag):

GNU bash, version 5.0.17(1)-release (x86_64-alpine-linux-musl)

jq-master-v20200428-28-g864c859e9d

yq version 3.4.0

jo 1.4

curl 7.69.1 (x86_64-alpine-linux-musl) libcurl/7.69.1 OpenSSL/1.1.1g zlib/1.2.11 nghttp2/1.41.0

OpenSSH_8.3p1, OpenSSL 1.1.1g  21 Apr 2020

Python 3.8.6

redis-cli 5.0.9

git version 2.26.2

Additional install Python libraries:

Jinja2-2.11.2
pyyaml-5.3.1
redis-3.5.3
jsonpath_ng-1.5.2
requests-2.24.0
ruamel.yaml-0.16.12

Docker: https://hub.docker.com/repository/docker/bitsofinfo/cicd-toolbox

Build:

docker build --no-cache . -t cicd-toolbox

Usage:

docker run -it bitsofinfo/cicd-toolbox:latest

docker run bitsofinfo/cicd-toolbox:latest yq -h

docker run bitsofinfo/cicd-toolbox:latest jq -h

docker run bitsofinfo/cicd-toolbox:latest jo -h

docker run bitsofinfo/cicd-toolbox:latest curl -h

docker run bitsofinfo/cicd-toolbox:latest bash -c 'echo "hello world"'

docker run bitsofinfo/cicd-toolbox:latest python --version

docker run bitsofinfo/cicd-toolbox:latest python -c 'print("hello world {}".format("bitsofinfo"))'

docker run bitsofinfo/cicd-toolbox:latest redis-cli -v

About

Simple alpine docker image for CICD ops with bash, redis, python, curl, jq, jo, and yq. Run bash, python scripts, cURL ops, manipulate JSON and YAML!

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published