Fix and add cleanup
This commit is contained in:
parent
c6e6084eeb
commit
b87c46c43f
1 changed files with 3 additions and 2 deletions
|
@ -2,8 +2,8 @@ FROM gitlab/gitlab-runner:latest
|
||||||
|
|
||||||
RUN true \
|
RUN true \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get upgrade \
|
&& apt-get upgrade -y \
|
||||||
&& apt-get install sudo \
|
&& apt-get clean && apt-get purge && rm -r /var/lib/apt/lists/* \
|
||||||
&& true
|
&& true
|
||||||
|
|
||||||
RUN true \
|
RUN true \
|
||||||
|
@ -11,4 +11,5 @@ RUN true \
|
||||||
&& apt-get install -y software-properties-common \
|
&& apt-get install -y software-properties-common \
|
||||||
&& apt-add-repository --yes --update ppa:ansible/ansible \
|
&& apt-add-repository --yes --update ppa:ansible/ansible \
|
||||||
&& apt-get install -y ansible \
|
&& apt-get install -y ansible \
|
||||||
|
&& apt-get clean && apt-get purge && rm -r /var/lib/apt/lists/* \
|
||||||
&& true
|
&& true
|
||||||
|
|
Reference in a new issue