summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
blob: 0f043e9612b16facfc031ff19b010baafa369f48 (plain)
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
FROM debian:jessie

RUN set -ex && \
  apt-get update && apt-get install -y --no-install-recommends \
		ca-certificates \
		curl \
		wget \
    build-essential \
    valac \
    libesmtp-dev \
    libgpgme11-dev \
    libncursesw5-dev \
    libncurses5-dev \
    libgee-dev \
    libgmime-2.6-dev \
    libarchive-dev \
    libgstreamer0.10-dev \
    librsvg2-dev \
    libsqlite3-dev \
    libpango1.0-dev \
    libssl-dev \
    dbus-x11 \
    fonts-lmodern \
    sqlite3 \
    libgtk2.0-dev \
    libsoup2.4-dev \
    libgee-0.8-dev \
    tmux \
    mdbus2 \
	&& rm -rf /var/lib/apt/lists/*

  RUN set -ex && \
    useradd shop && \
    mkdir /var/run/dbus

ENV SBC_DIR /mnt/serial-barcode-scanner

COPY tmux-config /root/.tmux.conf
COPY init.sh /root/

WORKDIR $SBC_DIR

ENTRYPOINT ["/root/init.sh"]