From 9bffda4ebb99a353370f93e36b22f98dc67b0641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sun, 1 Sep 2024 14:26:19 +0100 Subject: [PATCH] code-server added pip, doker, ansible, anslible-lint, ansible-creator --- ansible/core.yml | 1 + services/code-server/Dockerfile | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ansible/core.yml b/ansible/core.yml index 44c5a49..d5c38be 100644 --- a/ansible/core.yml +++ b/ansible/core.yml @@ -3,3 +3,4 @@ roles: - myInfra.dev.homesrv01.core - myInfra.ssh + diff --git a/services/code-server/Dockerfile b/services/code-server/Dockerfile index 91f9575..44ae70d 100644 --- a/services/code-server/Dockerfile +++ b/services/code-server/Dockerfile @@ -8,9 +8,10 @@ RUN apt-get update -y \ && add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" \ && add-apt-repository --yes --update ppa:ansible/ansible \ && apt-get update -y \ - && apt-get install python3 \ - && apt-get install python3-pip - #&& apt-get install -y ansible \ - #&& apt-get install -y docker-ce - #&& python3 -m pip install ansible-dev-tools + && apt-get install -y python3 \ + && apt-get install -y python3-pip \ + && apt-get install -y ansible \ + && apt-get install -y docker-ce \ + && pip3 install ansible-lint --break-system-packages \ + && pip3 install ansible-creator --no-input --break-system-packages