Skip to content

Commit

Permalink
feat(docker): Add method to inject fonts into Docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Jan 18, 2020
1 parent 8474b80 commit 104124a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ FROM sile-base AS sile
LABEL maintainer="Caleb Maclennan <caleb@alerque.com>"
LABEL version="$sile_tag"

COPY build-aux/docker-fontconfig.conf /etc/fonts/conf.d/99-docker.conf
COPY build-aux/docker-entrypoint.sh /usr/local/bin

COPY --from=sile-builder /pkgdir /
Expand Down
6 changes: 6 additions & 0 deletions build-aux/docker-fontconfig.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">

<fontconfig>
<dir>/fonts</dir>
</fontconfig>

0 comments on commit 104124a

Please sign in to comment.