git action deploy docker image
Some checks failed
/ build-docker-image (push) Has been cancelled

This commit is contained in:
2024-09-01 21:44:29 +01:00
parent 7ae82d19f3
commit 94dbfbe2e7
3 changed files with 30 additions and 14 deletions

17
docker/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM lscr.io/linuxserver/code-server:latest
RUN apt-get update -y
RUN apt-get update -y \
&& apt install -y software-properties-common ca-certificates curl software-properties-common \
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \
&& 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 -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