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 \
|
||||
&& apt-get update \
|
||||
&& apt-get upgrade \
|
||||
&& apt-get install sudo \
|
||||
&& apt-get upgrade -y \
|
||||
&& apt-get clean && apt-get purge && rm -r /var/lib/apt/lists/* \
|
||||
&& true
|
||||
|
||||
RUN true \
|
||||
|
@ -11,4 +11,5 @@ RUN true \
|
|||
&& apt-get install -y software-properties-common \
|
||||
&& apt-add-repository --yes --update ppa:ansible/ansible \
|
||||
&& apt-get install -y ansible \
|
||||
&& apt-get clean && apt-get purge && rm -r /var/lib/apt/lists/* \
|
||||
&& true
|
||||
|
|
Reference in a new issue