26 lines
827 B
Docker
26 lines
827 B
Docker
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
|
|
RUN pip3 install ansible-lint
|
|
#--break-system-packages
|
|
#RUN pip3 install ansible-dev-tools --break-system-packages
|
|
|
|
|
|
|
|
|
|
|
|
# && apt-get install -y ansible \
|
|
# && apt-get install -y docker-ce \
|
|
|