Tidy apk add command

Signed-off-by: Matthew Cengia <mattcen@mattcen.com>
This commit is contained in:
Matthew Cengia 2021-09-21 15:32:27 +10:00
parent ca07186d16
commit fe02d39b78

View File

@ -7,9 +7,7 @@ WORKDIR /home/node/matrix-dimension
RUN mkdir -p /home/node/matrix-dimension RUN mkdir -p /home/node/matrix-dimension
RUN apk update && \ RUN apk --no-cache add python2 glib-dev make g++ vips-dev libc-dev
apk add python2 glib-dev make g++ vips-dev libc-dev && \
rm -rf /var/lib/apk/* /var/cache/apk/*
COPY . /home/node/matrix-dimension 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 mkdir /data && chown -R node /data
RUN apk update && \ RUN apk --no-cache add python2 glib-dev make g++ vips-dev libc-dev
apk add python2 glib-dev make g++ vips-dev libc-dev && \
rm -rf /var/lib/apk/* /var/cache/apk/*
ENV CPATH=/usr/include/glib-2.0:/usr/lib/glib-2.0/include/ ENV CPATH=/usr/include/glib-2.0:/usr/lib/glib-2.0/include/