From 972bdd90a3eb6266f84fc58d680fbbe9ca002671 Mon Sep 17 00:00:00 2001 From: Shao Yu Lung Date: Fri, 4 Aug 2017 15:11:10 +0800 Subject: [PATCH] fix rm error ERROR INFO: Step 4/5 : RUN rm -r /var/lib/apt/lists/* ---> Running in 4a3aa49e0e6e rm: can't remove '/var/lib/apt/lists/*': No such file or directory ERROR: Service 'php-worker' failed to build: The command '/bin/sh -c rm -r /var/lib/apt/lists/*' returned a non-zero code: 1 --- php-worker/Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/php-worker/Dockerfile b/php-worker/Dockerfile index 58de7d5..2eb3f92 100644 --- a/php-worker/Dockerfile +++ b/php-worker/Dockerfile @@ -37,5 +37,4 @@ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf #-------------------------------------------------------------------------- # -RUN rm -r /var/lib/apt/lists/* WORKDIR /etc/supervisor/conf.d/