Skip to content

Commit fc5979c

Browse files
authored
Improve layer cache
1 parent ad2c5d9 commit fc5979c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ RUN echo "UTC" > /etc/timezone
55

66
# Install essential build tools
77
RUN apk add --update --no-cache \
8-
g++ autoconf make python3 curl \
9-
git bash \
10-
npm yarn \
8+
g++ autoconf make curl
119
#soap
1210
libxml2 libxml2-dev \
1311
#zip
@@ -50,5 +48,11 @@ RUN echo 'xdebug.mode="coverage"' >> /usr/local/etc/php/conf.d/docker-php-ext-xd
5048
RUN rm -rf /tmp/*
5149
RUN apk del g++ autoconf make libxml2-dev libzip-dev openssl-dev libpng-dev
5250

51+
# Install other libs
52+
RUN apk add --update --no-cache \
53+
python3 \
54+
git bash \
55+
npm yarn \
56+
5357
SHELL ["/bin/bash", "-c"]
5458
ENTRYPOINT ["/bin/bash", "-l", "-c"]

0 commit comments

Comments
 (0)