3 ms·
1. You can and probably should base your image on node:10-alpine instead of node:10 2. Even if you don't, why would you have to maintain a separate container?
by boring_twenties 7y ago
1. You can and probably should base your image on node:10-alpine instead of node:10
2. Even if you don't, why would you have to maintain a separate container? If `RUN apt install jq` is indeed the second entry in your Dockerfile after the `FROM ...`, then it should be cached and reused indefinitely -- that's half the point of Docker in the first place. It won't work if you have a command like `COPY` before the `RUN apt`, though.