docker/Dockerfile revision
All checks were successful
/ build-docker-image (push) Successful in 2m26s

This commit is contained in:
2024-09-07 12:30:28 +01:00
parent 8bf6ca8ba8
commit 3222a06283
2 changed files with 20 additions and 19 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
**.local

View File

@@ -1,25 +1,25 @@
FROM lscr.io/linuxserver/code-server:latest FROM lscr.io/linuxserver/code-server:latest
RUN apt-get update -y
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y
#curl
RUN apt-get install curl -y
#docker
RUN curl -fsSL https://get.docker.com -o get-docker.sh && sh ./get-docker.sh
RUN apt-get update -y \ #openssh client
&& apt install -y software-properties-common ca-certificates curl software-properties-common \ RUN apt-get install -y openssh-client
&& 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" \ #python3
&& add-apt-repository --yes --update ppa:ansible/ansible \ RUN apt-get install -y gcc python3-dev
&& apt-get update -y \ RUN apt-get install python3-pip -y
&& apt-get install -y python3 \
&& apt-get install -y python3-pip \
&& apt-get install -y ansible \
&& apt-get install -y docker-ce
RUN pip3 install ansible-lint
#--break-system-packages
#RUN pip3 install ansible-dev-tools --break-system-packages
#ansible
RUN rm /usr/lib/python*/EXTERNALLY-MANAGED
RUN pip3 install ansible
# && apt-get install -y ansible \ RUN pip3 install ansible-dev-tools && pip3 install ansible-runner && pip3 install ansible-lint
# && apt-get install -y docker-ce \