-
Notifications
You must be signed in to change notification settings - Fork 1
/
oc.template.gtk.libreoffice
59 lines (46 loc) · 1.89 KB
/
oc.template.gtk.libreoffice
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
# default TAG is dev
ARG TAG=dev
ARG BASE_IMAGE
FROM ${BASE_IMAGE}:${TAG}
ENV DEBIAN_FRONTEND noninteractive
# install help in all language
#RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends \
# $(apt-cache search language-pack-gnome | awk '{print $1 }') \
# && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt install -y \
at-spi2-core \
libreoffice \
libreoffice-gtk3 \
libreoffice-style-elementary \
libreoffice-base-drivers \
libreoffice-sdbc-hsqldb \
libghc-hdbc-dev \
&& apt-get clean
# install help in all language
#RUN apt-get update && apt-get install -y --no-install-recommends \
# $(apt-cache search libreoffice-help | awk '{print $1 }') \
# && apt-get clean
# install myspell-dictionary packages when available
#RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
# $(apt-cache search myspell-dictionary | awk '{print $1 }') \
# && rm -rf /var/lib/apt/lists/*
# install hyphen when available
#RUN apt-get update && apt-get install -y --no-install-recommends \
# $(apt-cache search hyphen | awk '{print $1 }') \
# && apt-get clean
# install ibreoffice-grammarcheck when available
#RUN apt-get update && apt-get install -y --no-install-recommends \
# $(apt-cache search libreoffice-grammarcheck | awk '{print $1 }') \
# && apt-get clean
# l10n files are loaded by libreoffice-help packages when available
#RUN apt-get update && apt-get install -y --no-install-recommends \
# $(apt-cache search libreoffice-l10n | awk '{print $1 }') \
# && apt-get clean
#
# install xfonts
# install dbus
RUN apt-get update && apt-get install -y --no-install-recommends \
xfonts-base \
dbus-x11 \
&& apt-get clean
RUN mkdir -p /run/user/ && chmod 777 /run/user/