Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fairblue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hosting
chat
fairblue
Commits
992ec2b3
Commit
992ec2b3
authored
4 years ago
by
Gustavo Trott
Browse files
Options
Downloads
Patches
Plain Diff
Install Libreoffice 7 and MS fonts in Docker to convert presentations
parent
3acb3ab1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bbb-libreoffice/docker/Dockerfile
+11
-2
11 additions, 2 deletions
bbb-libreoffice/docker/Dockerfile
with
11 additions
and
2 deletions
bbb-libreoffice/docker/Dockerfile
+
11
−
2
View file @
992ec2b3
...
...
@@ -2,12 +2,21 @@ FROM openjdk:11-jre
ENV
DEBIAN_FRONTEND noninteractive
#Required to install Libreoffice 7
RUN
echo
"deb http://deb.debian.org/debian buster-backports main"
>>
/etc/apt/sources.list
#Required to install MS fonts
RUN
echo
"deb http://deb.debian.org/debian buster contrib"
>>
/etc/apt/sources.list
RUN
apt update
RUN
apt
-y
install
locales-all fontconfig libxt6 libxrender1
RUN
apt
-y
install
--no-install-recommends
libreoffice fonts-crosextra-carlito fonts-crosextra-caladea fonts-noto fonts-noto-cjk
RUN
apt
install
-y
-t
buster-backports libreoffice
RUN
apt
-y
install
--no-install-recommends
fonts-crosextra-carlito fonts-crosextra-caladea fonts-noto fonts-noto-cjk
#MS fonts
RUN
echo
"ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true"
| debconf-set-selections
RUN
apt-get
install
-y
--no-install-recommends
fontconfig ttf-mscorefonts-installer
RUN
dpkg-reconfigure fontconfig
&&
fc-cache
-f
-s
-v
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment