Просмотр исходного кода

Upgrade devture/ansible container image (14.0.0-r0-1 -> 14.0.0-r0-2)

The new image includes py3-regex.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
pull/5516/head
Slavi Pantaleev 2 дней назад
Родитель
Сommit
48d9be19b1
2 измененных файлов: 3 добавлений и 3 удалений
  1. +1
    -1
      .devcontainer/Dockerfile
  2. +2
    -2
      docs/ansible.md

+ 1
- 1
.devcontainer/Dockerfile Просмотреть файл

@@ -2,7 +2,7 @@
# #
# SPDX-License-Identifier: AGPL-3.0-or-later # SPDX-License-Identifier: AGPL-3.0-or-later


FROM ghcr.io/devture/ansible:14.0.0-r0-1
FROM ghcr.io/devture/ansible:14.0.0-r0-2


# Install additional packages # Install additional packages
RUN apk add --no-cache \ RUN apk add --no-cache \


+ 2
- 2
docs/ansible.md Просмотреть файл

@@ -88,7 +88,7 @@ docker run \
-w /work \ -w /work \
--mount type=bind,src=`pwd`,dst=/work \ --mount type=bind,src=`pwd`,dst=/work \
--entrypoint=/bin/sh \ --entrypoint=/bin/sh \
ghcr.io/devture/ansible:14.0.0-r0-1
ghcr.io/devture/ansible:14.0.0-r0-2
``` ```


Once you execute the above command, you'll be dropped into a `/work` directory inside a Docker container. The `/work` directory contains the playbook's code. Once you execute the above command, you'll be dropped into a `/work` directory inside a Docker container. The `/work` directory contains the playbook's code.
@@ -109,7 +109,7 @@ docker run \
--mount type=bind,src=`pwd`,dst=/work \ --mount type=bind,src=`pwd`,dst=/work \
--mount type=bind,src=$HOME/.ssh/id_ed25519,dst=/root/.ssh/id_ed25519,ro \ --mount type=bind,src=$HOME/.ssh/id_ed25519,dst=/root/.ssh/id_ed25519,ro \
--entrypoint=/bin/sh \ --entrypoint=/bin/sh \
ghcr.io/devture/ansible:14.0.0-r0-1
ghcr.io/devture/ansible:14.0.0-r0-2
``` ```


The above command tries to mount an SSH key (`$HOME/.ssh/id_ed25519`) into the container (at `/root/.ssh/id_ed25519`). If your SSH key is at a different path (not in `$HOME/.ssh/id_ed25519`), adjust that part. The above command tries to mount an SSH key (`$HOME/.ssh/id_ed25519`) into the container (at `/root/.ssh/id_ed25519`). If your SSH key is at a different path (not in `$HOME/.ssh/id_ed25519`), adjust that part.


Загрузка…
Отмена
Сохранить