This commit is contained in:
Brian Zalewski 2023-12-05 08:23:52 +00:00
parent 05ec829eea
commit facc9a61a0
2 changed files with 17 additions and 5 deletions

View file

@ -1693,15 +1693,20 @@ softwarePlugins:
- snyk/snyk-docker-desktop-extension:0.7.4 - snyk/snyk-docker-desktop-extension:0.7.4
- tailscale/docker-extension:1.0.1 - tailscale/docker-extension:1.0.1
when: docker extension list &> /dev/null when: docker extension list &> /dev/null
docker_images: docker-images:
cmd: null cmd: bash -c 'if ! docker image list | awk \'{print $1 " " $2}\' | grep "{PLUGIN}" > /dev/null; then docker pull "{PLUGIN}"; fi'
plugins: plugins:
- docker.io/nginx/unit - alpine:latest
docker_plugins: - postgres:10
cmd: bash -c 'if ! docker plugin ls | grep "{PLUGIN}" > /dev/null; then docker plugin install "{PLUGIN}"; fi' - postgres:12
- postgres:latest
- ubuntu:latest
docker-plugins:
cmd: bash -c 'if ! docker plugin ls | grep "{PLUGIN}" > /dev/null; then echo y | docker plugin install "{PLUGIN}"; fi'
plugins: plugins:
- sapk/plugin-rclone - sapk/plugin-rclone
- vieux/sshfs - vieux/sshfs
when: docker plugin ls &> /dev/null
dotnet: dotnet:
cmd: bash -c 'if ! dotnet tool list -g | grep "{PLUGIN}" > /dev/null; then dotnet tool install -g "{PLUGIN}"; fi' cmd: bash -c 'if ! dotnet tool list -g | grep "{PLUGIN}" > /dev/null; then dotnet tool install -g "{PLUGIN}"; fi'
plugins: plugins:

View file

@ -10518,6 +10518,8 @@ softwarePackages:
_app: Browserosaurus.app _app: Browserosaurus.app
cask: browserosaurus cask: browserosaurus
docker: docker:
_deps:
- docker-images
_bin: docker _bin: docker
_desc: null _desc: null
_docs: null _docs: null
@ -10545,6 +10547,11 @@ softwarePackages:
- docker-ce - docker-ce
- docker-ce-cli - docker-ce-cli
- docker-compose-plugin - docker-compose-plugin
docker-images:
_desc: This entry is used to trigger a post-installation docker image pre-load. See the `docker-images` entry in `.chezmoidata.yaml`.
script: echo "Enabling docker-images pre-load"
docker-plugins:
_desc: This entry is used to trigger a post-installation Docker plugin installation. See `docker-plugins` entry in `.chezmoidata.yaml`.
openssh-server: openssh-server:
_service: sshd _service: sshd
_when: test -f /proc/version && ! grep Microsoft /proc/version > /dev/null && ! test -d /Applications' _when: test -f /proc/version && ! grep Microsoft /proc/version > /dev/null && ! test -d /Applications'