updated to apline
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
0de1d42d4b
commit
5d22e71867
15
Dockerfile
15
Dockerfile
|
@ -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
|
|
@ -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"]
|
Loading…
Reference in New Issue