Open akauppi opened 7 years ago
&& apk add --no-cache --virtual .build-deps \
binutils-gold \
curl \
g++ \
gcc \
gnupg \
libgcc \
linux-headers \
make \
python \
What do you think @kgalli do we need all that extra dependencies on the alpine image?
Short answer yes we do. Main reason: https://github.com/nodejs/node-gyp support. My main idea is to base from official node alpine image and we only put our certificates on top. That will free a lot of space. But will also follow all decisions the official docker node team follows like having yarn
as default package manager.
The Zalando image is remarkably big, compared with
node:alpine
: 238MB vs. 59MB.Is this intentional / known, or something that should be looked into? I checked the
Dockerfile
and presume it's the gcc, make, python that bring the added weight in.