f5-devops-base dev container based on ubuntu
size about 1.08GB
- git
- jq
- curl
- wget
- zsh
- oh-my-bash/zsh
- python3
- golang
- docker
- pre-commit
build local to test:
IMAGE_NAME="f5-devops-base"
docker build -t ${IMAGE_NAME} .
# test your build locally
docker run --rm -it ${IMAGE_NAME} bash
if successful tag and push to registry:
REGISTRY="vinnie357"
IMAGE_NAME="f5-devops-base"
IMAGE_TAG="latest"
# https://docs.docker.com/engine/reference/commandline/tag/
# alernatively you can build a new image and tag to preseve local
docker build -t ${REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG} .
# !login to your registry!
# note: docker desktop may also log you in
docker push ${REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}
https://github.com/hadolint/hadolint
docker run --rm -i hadolint/hadolint < Dockerfile