Docker Community Forums

Share and learn in the Docker community.

Installation problem for latest NodeJs in docker:18.09.0-dind

Hi all,
I am trying to install latest nodejs in the docker:18.09.0-dind but it installing older version of node.
my Docker file is provide below–

FROM docker:18.09.0-dind
RUN apk get update

RUN apk add git && apk add curl && apk add bash
RUN apk add nodejs-current
&& apk add npm
&& npm i -g npm@latest
&& npm install -g @angular/cli
RUN node -v && npm -v

but if i used alpine:latest image in above docker file then it works fine Dont know whats wrong is happening