From fe02d39b7830327bc8e60f091d950be6d1bc4508 Mon Sep 17 00:00:00 2001 From: Matthew Cengia Date: Tue, 21 Sep 2021 15:32:27 +1000 Subject: [PATCH] Tidy apk add command Signed-off-by: Matthew Cengia --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 952b8a6..aedc1da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,7 @@ WORKDIR /home/node/matrix-dimension RUN mkdir -p /home/node/matrix-dimension -RUN apk update && \ - apk add python2 glib-dev make g++ vips-dev libc-dev && \ - rm -rf /var/lib/apk/* /var/cache/apk/* +RUN apk --no-cache add python2 glib-dev make g++ vips-dev libc-dev COPY . /home/node/matrix-dimension @@ -37,9 +35,7 @@ RUN chown -R node /home/node/matrix-dimension RUN mkdir /data && chown -R node /data -RUN apk update && \ - apk add python2 glib-dev make g++ vips-dev libc-dev && \ - rm -rf /var/lib/apk/* /var/cache/apk/* +RUN apk --no-cache add python2 glib-dev make g++ vips-dev libc-dev ENV CPATH=/usr/include/glib-2.0:/usr/lib/glib-2.0/include/