mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-19 14:47:12 -04:00
* Add NodeSource NodeJS repo to be able to install NPM (not in Stretch)
This commit is contained in:
parent
c65adc6042
commit
9881c06e5d
@ -60,10 +60,11 @@ ENV NODE_PATH /usr/local/lib/node_modules
|
|||||||
# Uglify needs to be installed right before 'make dojo'?!
|
# Uglify needs to be installed right before 'make dojo'?!
|
||||||
|
|
||||||
# These packages are only needed during the dojo build
|
# These packages are only needed during the dojo build
|
||||||
ENV DOJO_Build_Deps git make gcc libperl-dev npm curl
|
ENV DOJO_Build_Deps git make gcc libperl-dev curl nodejs
|
||||||
# These packages can be removed after the dojo build
|
# These packages can be removed after the dojo build
|
||||||
ENV DOJO_Build_Deps_removal ${DOJO_Build_Deps} nodejs
|
ENV DOJO_Build_Deps_removal ${DOJO_Build_Deps} nodejs
|
||||||
|
|
||||||
|
RUN curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
|
||||||
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y update && \
|
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y update && \
|
||||||
DEBIAN_FRONTEND="noninteractive" apt-get -y install ${DOJO_Build_Deps} && \
|
DEBIAN_FRONTEND="noninteractive" apt-get -y install ${DOJO_Build_Deps} && \
|
||||||
update-alternatives --install /usr/bin/node nodejs /usr/bin/nodejs 100 && \
|
update-alternatives --install /usr/bin/node nodejs /usr/bin/nodejs 100 && \
|
||||||
|
Loading…
Reference in New Issue
Block a user