mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-24 21:24:05 -08:00
add gitpod dockerfile to upgrade node and npm version
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
This commit is contained in:
parent
eca9546ba4
commit
160fc41441
7
.gitpod.Dockerfile
vendored
Normal file
7
.gitpod.Dockerfile
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
FROM gitpod/workspace-full
|
||||||
|
|
||||||
|
ENV CUSTOM_NODE_VERSION=16
|
||||||
|
|
||||||
|
RUN bash -c ". .nvm/nvm.sh && nvm install ${CUSTOM_NODE_VERSION} && nvm use ${CUSTOM_NODE_VERSION} && nvm alias default ${CUSTOM_NODE_VERSION}"
|
||||||
|
|
||||||
|
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
|
Loading…
Reference in a new issue