-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (22 loc) · 798 Bytes
/
Dockerfile
File metadata and controls
30 lines (22 loc) · 798 Bytes
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
# > docker run -i -t --security-opt seccomp:unconfined -v $PWD:/var/opt/src $IMAGE
FROM ubuntu:14.04
# Common enviromnent variables
ENV TERM=xterm
ENV DEBIAN_FRONTEND noninteractive
# Add proper locales
RUN locale-gen ru_RU.UTF-8
RUN dpkg-reconfigure debconf locales
ENV LANG=ru_RU.UTF-8 LC_ALL=ru_RU.UTF-8 LANGUAGE=ru_RU:ru
# apt-get configuration
RUN rm -rf /var/lib/apt/lists/*
RUN apt-get update --fix-missing
# Install requred pacakges
# strace required "--security-opt seccomp:unconfined" option on container running
RUN apt-get update --fix-missing && \
apt-get install -y curl \
wget \
strace
RUN curl -sL https://asciinema.org/install | sh
# Install NodeJs
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - && apt-get install -y nodejs
RUN /bin/bash