updated to apline
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Pavel Dmitriev 2023-08-17 17:32:27 +03:00
parent 0de1d42d4b
commit 5d22e71867
2 changed files with 15 additions and 13 deletions

View File

@ -1,13 +1,2 @@
#Download base image ubuntu 20.04
FROM ubuntu:20.04
#Configure tz-data
ENV TZ=Europe/Moscow
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Update Ubuntu Software repository
RUN apt-get -qy update
RUN apt install -qy python3 python3-pip software-properties-common git ansible
RUN pip install ansible-lint==4.0.0
CMD ["/bin/bash"]
FROM alpine
RUN apk add --no-cache ansible cdrkit ansible-lint

13
Dockerfile.X Normal file
View File

@ -0,0 +1,13 @@
#Download base image ubuntu 20.04
FROM ubuntu:20.04
#Configure tz-data
ENV TZ=Europe/Moscow
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Update Ubuntu Software repository
RUN apt-get -qy update \
&& apt install -qy python3 python3-pip software-properties-common git ansible \
&& pip install ansible-lint==4.0.0
CMD ["/bin/bash"]