-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
46 lines (37 loc) · 917 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
FROM docker:17.12-dind
RUN apk add --update \
openjdk8=8.151.12-r0 \
chromium=61.0.3163.100-r0 \
ttf-freefont \
git \
xvfb \
dbus \
udev \
openssh-client \
openrc \
bash \
libstdc++ \
curl \
ca-certificates \
openssl \
ncurses \
coreutils \
python \
make \
gcc \
g++ \
libgcc \
linux-headers \
grep \
util-linux \
binutils \
tar \
findutils
ENV NVM_DIR /usr/local/nvm
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
ENV NODE_VERSION v8.9.1
RUN /bin/bash -c "source $NVM_DIR/nvm.sh && nvm install -s $NODE_VERSION && nvm use --delete-prefix $NODE_VERSION"
ENV NODE_PATH $NVM_DIR/versions/node/$NODE_VERSION/lib/node_modules
ENV PATH $NVM_DIR/versions/node/$NODE_VERSION/bin:$PATH
ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk
COPY .bashrc /root/.bashrc