File tree Expand file tree Collapse file tree 2 files changed +1
-64
lines changed Expand file tree Collapse file tree 2 files changed +1
-64
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:17.04
1+ FROM jkuri/abstruse
22
3- RUN rm /bin/sh && ln -s /bin/bash /bin/sh
4- RUN echo 'export PS1="> "' > /root/.bashrc
5- RUN apt-get update && apt-get install -y curl apt-transport-https wget rsync apt-utils
6- RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
7- RUN sh -c 'echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
8- RUN apt-get update
9- RUN apt-get install -y build-essential ca-certificates git libssl-dev python xvfb fluxbox google-chrome-stable firefox sudo
10-
11- RUN export CHROME_BIN=google-chrome-stable
12- COPY xvfb /etc/init.d/xvfb
13- RUN chmod a+x /etc/init.d/xvfb
14-
15- RUN useradd -m abstruse
16- RUN usermod -aG sudo abstruse
17- RUN echo 'export PS1="> "' >> /home/abstruse/.bashrc
18- RUN echo '. /home/abstruse/.nvm/nvm.sh' >> /home/abstruse/.bashrc
19- RUN echo "abstruse ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
20-
21- USER abstruse
22- RUN mkdir /home/abstruse/build
23- WORKDIR /home/abstruse/build
24-
25- RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash \
26- && export NVM_DIR="$HOME/.nvm" \
27- && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" \
28- && source $NVM_DIR/nvm.sh \
29- && nvm install node
30-
31- EXPOSE 22 5900 5800
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments