We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce9c050 commit 298a52bCopy full SHA for 298a52b
Dockerfile
@@ -4,17 +4,20 @@ RUN mkdir -p /_build/
4
WORKDIR /_build/
5
ADD . /_build/
6
7
-RUN apt-get update
+RUN apt update -y
8
9
-RUN apt-get install -y \
+RUN apt install -y \
10
sudo \
11
+ curl \
12
build-essential \
13
python3-dev \
14
python3-pip \
15
openssh-server
16
17
RUN make create_user
18
19
+RUN make setup_node
20
+
21
RUN mkdir /var/run/sshd
22
23
RUN rm -Rf /_build/
Makefile
@@ -3,3 +3,8 @@ SHELL := /bin/bash
3
create_user:
source scripts/build/create_user.sh
+setup_node:
+ curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
+ apt install -y nodejs
+ npm install -g npm
0 commit comments