forked from motioneye-project/motioneyeos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
40 lines (35 loc) · 846 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
from ubuntu:18.04
USER root
RUN \
apt-get update -q && \
DEBIAN_FRONTEND="noninteractive" apt-get install -qy --fix-missing --no-install-recommends \
ca-certificates \
build-essential \
#fakeroot \
git \
wget \
curl \
file \
python2.7-dev \
python3-dev \
libssl-dev \
libncurses5-dev \
rsync \
patch \
cpio \
gzip \
unzip \
bc \
openssh-client \
asciidoc \
dblatex \
graphviz \
python-matplotlib && \
rm -rf /var/lib/apt/lists/* && \
useradd -ms /bin/bash build && \
mkdir -p /build && \
chown -R build:build /build
USER build
WORKDIR /build
# container just waits, by default, actual builds can be done with `docker exec`
CMD /bin/bash -c 'for ((i = 0; ; i++)); do sleep 100; done'