Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Commit eb6cb4f

Browse files
teddy-codesNathan Potter
authored and
Nathan Potter
committed
Added nodejs and npm for chrome extension (#164)
Install nvm, node, and npm in .sail/Dockerfile
1 parent 5117fdf commit eb6cb4f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.sail/Dockerfile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
FROM codercom/ubuntu-dev-go:latest
2+
SHELL ["/bin/bash", "-c"]
3+
RUN sudo apt-get update && \
4+
sudo apt-get install -y htop
5+
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash && \
6+
. ~/.nvm/nvm.sh \
7+
&& nvm install node
28

3-
RUN sudo apt-get install -y htop
49
LABEL project_root "~/go/src/go.coder.com"
510

611
# Modules break much of Go's tooling.
712
ENV GO111MODULE=off
813

914
# Install the latest version of Hugo.
1015
RUN wget -O /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.55.4/hugo_extended_0.55.4_Linux-64bit.deb && \
11-
sudo dpkg -i /tmp/hugo.deb && \
12-
rm -f /tmp/hugo.deb
16+
sudo dpkg -i /tmp/hugo.deb && \
17+
rm -f /tmp/hugo.deb
1318

1419
RUN installext peterjausovec.vscode-docker

0 commit comments

Comments
 (0)