Skip to content

Commit 1a2b58e

Browse files
committed
Fixed autoremove to be forced
1 parent e15ed19 commit 1a2b58e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ RUN apt-get -y install sudo && \
8484
usermod -a -G sudo ubuntu
8585

8686
# Clean-up installation.
87-
RUN DEBIAN_FRONTEND=noninteractive apt-get autoclean && apt-get autoremove
87+
RUN DEBIAN_FRONTEND=noninteractive apt-get -y autoclean && \
88+
DEBIAN_FRONTEND=noninteractive apt-get -y autoremove
8889

8990
RUN service apache2 restart
9091
RUN service php7.0-fpm start

0 commit comments

Comments
 (0)