-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
70 lines (62 loc) · 1.46 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
FROM debian:buster
MAINTAINER Seamus Tuohy (code@seamustuohy.com)
# Get Offline Release Here: https://about.draw.io/integrations/#integrations_offline
ENV RELEASE https://github.com/jgraph/drawio-desktop/releases/download/v8.8.0/draw.io-amd64-8.8.0.deb
USER root
WORKDIR /root
RUN apt-get update && apt-get install -y \
wget \
python3-dev \
ca-certificates \
make \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
RUN wget ${RELEASE} -O draw.io.deb
RUN apt-get update \
&& dpkg -i draw.io.deb || true \
&& apt install -f -y \
&& apt install -y \
libx11-xcb1 \
libasound2 \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
# --install-suggests
# python3-dev \
# gconf-service \
# gconf2 \
# gconf2-common \
# libappindicator1 \
# libdbus-glib-1-2 \
# libdbusmenu-glib4 \
# libdbusmenu-gtk4 \
# libgail-common \
# libgail18 \
# libgconf-2-4 \
# libgtk2.0-0 \
# libgtk2.0-bin \
# libgtk2.0-common \
# libindicator7 \
# libnotify4 \
# libpython-stdlib \
# libpython2-stdlib \
# libpython2.7-minimal \
# libpython2.7-stdlib \
# libxss1 \
# libxtst6 \
# notification-daemon \
# psmisc \
# python \
# python-minimal \
# python2 \
# python2-minimal \
# python2.7 \
# python2.7-minimal \
# x11-common
# # Create Unprivlaged User
# RUN groupadd -r user && \
# useradd -r -g user -d /home/user -s /sbin/nologin -c "User" user && \
# mkdir /home/user && \
# chown -R user:user /home/user
USER root
WORKDIR /root
CMD ["draw.io"]