Skip to content

Commit

Permalink
Update to Debian 12
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenion1987 committed Nov 25, 2023
1 parent cf2cd27 commit 87a5013
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:11
FROM debian:12
RUN apt update && \
export DEBIAN_FRONTEND=noninteractive && \
apt install -y --no-install-recommends \
Expand Down
24 changes: 13 additions & 11 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Ansible-Debian-11",
"name": "Ansible-Debian-12",
"initializeCommand": "bash ./.devcontainer/scripts/initialize-command.sh",
"image": "mcr.microsoft.com/devcontainers/python:3-bullseye",
"image": "mcr.microsoft.com/devcontainers/python:3-bookworm",
"runArgs": [
"--name=ansible-playground-control",
"--hostname=ansible-control",
"--network=ansible-playground"
],
"containerEnv": { "TZ": "Europe/Berlin" },
"containerEnv": {
"TZ": "Europe/Berlin"
},
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/sshd:1": {}
Expand All @@ -35,14 +37,14 @@
"ansible.validation.lint.path": "ansible-lint",
"ansible.ansible.path": "ansible",
"ansible.python.interpreterPath": ".devcontainer/.venv-ansible/bin/python",
"files.associations": {
"*.j2": "ansible-jinja",
"**/defaults/**/*.y*ml": "ansible",
"**/group_vars/**/*.y*ml": "ansible",
"**/host_vars/**/*.y*ml": "ansible",
"**/vars/**/*.y*ml": "ansible",
"**/tasks/**/*.y*ml": "ansible",
"**/handlers/*.y*ml": "ansible",
"files.associations": {
"*.j2": "ansible-jinja",
"**/defaults/**/*.y*ml": "ansible",
"**/group_vars/**/*.y*ml": "ansible",
"**/host_vars/**/*.y*ml": "ansible",
"**/vars/**/*.y*ml": "ansible",
"**/tasks/**/*.y*ml": "ansible",
"**/handlers/*.y*ml": "ansible",
"**/meta/*.y*ml": "ansible",
"**/roles/**/*.y*ml": "ansible",
"**/playbooks/**/*.y*ml": "ansible",
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
ansible-client-debian:
build:
context: ./Dockerfiles
dockerfile: Dockerfile-Debian-11
dockerfile: Dockerfile-Debian-12
image: ansible-client-debian
container_name: ansible-client-debian
hostname: debian.client.ansible
Expand Down

0 comments on commit 87a5013

Please sign in to comment.