mirror of
https://codeberg.org/openpgp/notes.git
synced 2025-09-09 03:09:40 +02:00
initial public release
This commit is contained in:
parent
ecffecc2ce
commit
e913b907d7
129 changed files with 28453 additions and 0 deletions
16
Dockerfile
Normal file
16
Dockerfile
Normal file
|
@ -0,0 +1,16 @@
|
|||
# SPDX-FileCopyrightText: 2023 The "Notes on OpenPGP" project
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
FROM archlinux:latest AS build
|
||||
COPY book/ /book
|
||||
WORKDIR /book
|
||||
# fix EPUB rendering: https://github.com/sphinx-doc/sphinx/issues/11598
|
||||
RUN \
|
||||
pacman -Sy --needed --noconfirm archlinux-keyring \
|
||||
&& pacman -Syu --needed --noconfirm inkscape make noto-fonts patch python-myst-parser python-sphinx python-sphinxext-opengraph ttf-montserrat \
|
||||
&& patch -Np1 -d /usr/lib/python3.11/site-packages/ -i /book/patches/sphinx-11766.patch \
|
||||
&& make epub html
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /book/build/html /
|
||||
COPY --from=build --chown=644 /book/build/epub/OpenPGP_for_application_developers.epub /
|
Loading…
Add table
Add a link
Reference in a new issue