- docker hub: dodopizza/centos
- docker hub dev: dodopizza/centos-dev
Run default shell and mount current working directory:
docker run -it --rm -w /workdir -v "$(PWD):/workdir" dodopizza/centos:TAGTo login to dodo infrastructure just type:
dodo-loginTo use convenient command line function (dodo-centos), add following code to ~/.bashrc (bash) or ~/.zshrc (zsh)
function dodo-centos(){
local version=4.2.0
docker run -it --rm \
-w /workdir -v "${PWD}:/workdir" \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ${HOME}/.kube:/root/.kube \
dodopizza/centos:${version}
}To run dodo-centos as a pod in Kubernetes cluster add next code:
function dodo-centos-k8s(){
local version=4.2.0
local username=$(id -u -n)
local podname="dodo-centos-${username}"
kubectl delete pod --ignore-not-found "${podname}"
kubectl run "${podname}" -it --rm --image=dodopizza/centos:${version}
}To use convenient command line function (dodo-centos) for Windows, open pwsh profile with command
New-Item $profile -Type File -Force
notepad.exe $profileand add following code
Function dodo-centos {
$version="4.2.0"
docker run -it --rm `
--privileged `
-w /workdir -v "${PWD}:/workdir" `
-v //var/run/docker.sock:/var/run/docker.sock `
-v ${HOME}/.kube:/root/.kube `
dodopizza/centos:$version
}latest branch - is the main development branch. When changes was pushed to the latest branch, GHA build and push docker-image to:
dodopizza/centos:latestdodopizza/centos-dev:latest
* branches - all other branches build and push images to:
dodopizza/centos-dev:<branch_short_sha>
You can find image tag in the GHA workflow output
New release can be created from any branch by running New release workflow
This release method allow to develop more than one image version simultaneously, create a fix versions between existing releases
ttl: 30d
tags:
- jq
- yq
- git
- jsonnet
- redis
- redis-cli
- python
- pip
- azure
- azure-cli
- kubectl
- ansible
- ansible-lint
- azcopy
- mysql
- mysqlsh
- mysqldump
- xtrabackup
- pt-online-schema-change
- ghost
- gh-ost
- innotop
- Terraform
- packer
- Docker
- docker-compose
- helm
- werf
- promtool
indexes:
- Инфраструктура/Centos/Docker centos
- Инфраструктура/Linux/Docker/Centos
- Инфраструктура/Docker/dodo-centos