Created
March 10, 2025 06:48
-
-
Save a-yasui/610df9c8e9c793c5faaef0cf55190b25 to your computer and use it in GitHub Desktop.
Pandoc 3.6 から pandoc を自前の Docker に持ってくる方法
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pandoc import check | |
FROM pandoc/core:3.6.3-ubuntu AS pandoc | |
# 作成先 | |
FROM ubuntu:24.04 | |
COPY --from=pandoc /usr/local/bin/pandoc* /usr/local/bin/ | |
COPY --from=pandoc /usr/local/lib/libffi* /usr/local/lib/ | |
COPY --from=pandoc /usr/local/share /usr/local/share | |
# see: https://github.com/pandoc/dockerfiles/blob/main/ubuntu/Dockerfile#L80-L95 | |
RUN apt-get update -y && \ | |
apt-get install --assume-yes --no-install-recommends \ | |
ca-certificates \ | |
liblua5.4-0 \ | |
libatomic1 \ | |
libgmp10 \ | |
libpcre3 \ | |
libyaml-0-2 \ | |
zlib1g \ | |
&& rm -rf /var/lib/apt/lists/* | |
ENTRYPOINT ["bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment