Skip to content

Commit

Permalink
Install markdown-cli before building examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Dec 10, 2024
1 parent 6e16c19 commit 3e88f74
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ FROM $FROM_IMAGE:$TEXLIVE_TAG as build
ARG DEPENDENCIES
ARG TEXLIVE_DEPENDENCIES

ARG BINARY_DIR
ARG BUILD_DIR
ARG INSTALL_DIR
ARG PREINSTALLED_DIR
Expand Down Expand Up @@ -122,6 +123,9 @@ mkdir -p ${INSTALL_DIR}/tex/
cp ${BUILD_DIR}/t-markdown.tex ${INSTALL_DIR}/tex/context/third/markdown/
cp ${BUILD_DIR}/t-markdownthemewitiko_markdown_defaults.tex ${INSTALL_DIR}/tex/context/third/markdown/

# Make the markdown-cli script executable
ln -s ${INSTALL_DIR}/scripts/markdown/markdown-cli.lua ${BINARY_DIR}/markdown-cli

# Generate the ConTeXt file database
if test ${DEV_IMAGE} != true
then
Expand Down Expand Up @@ -216,7 +220,7 @@ set -o nounset
set -o xtrace

# Make the markdown-cli script executable
ln -s ${INSTALL_DIR}/scripts/markdown/markdown-cli.lua ${BINARY_DIR}/markdown-cli
ln -s ${INSTALL_DIR}/scripts/markdown/markdown-cli.lua ${BINARY_DIR}/markdown-cli

# Generate the ConTeXt file database
if echo ${TEXLIVE_TAG} | grep -q latest-minimal
Expand Down

0 comments on commit 3e88f74

Please sign in to comment.