mhart / alpine-node

Minimal Node.js Docker Images built on Alpine Linux
MIT License
2.45k stars 303 forks source link

Only pulling Alpine 4.9 not 4.10 #148

Closed JFossey closed 4 years ago

JFossey commented 4 years ago

I am using mhart/alpine-node:12 as my base image in a project. When I look at the source code in this project it looks like it uses alpine:3.10 as a the base image, but when I do a pull or build I get 4.9.

Action

In Dockerfile: FROM mhart/alpine-node:12

Expected result

Alipine version 4.10 as based image.

Result

$ cat /etc/alpine-release
3.9.4
mhart commented 4 years ago

mhart/alpine-node:12 uses alpine 3.9. See https://github.com/mhart/alpine-node/commit/b970f42158026b842019d9c25310663ffb908b6b

This was the latest version when Node.js 12.x was initially released. To prevent breaking changes to ppl's apps, I don't change the OS when upgrading Node.js.