Tamarin/hooks/containerbuild/marp-compiler/add-packages
2022-08-11 09:00:15 +02:00

10 lines
418 B
Bash
Executable File

#!/usr/bin/env bash
set -e
echo 'RUN apk add --no-cache python3 bash' >> Dockerfile
echo 'ENTRYPOINT [""]' >> Dockerfile
echo 'RUN npm install -g --save-prod markdown-it markdown-it-mark markdown-it-include markdown-it-anchor markdown-it-table-of-contents' >> Dockerfile
echo 'ENV NODE_PATH=/usr/local/lib/node_modules' >> Dockerfile
echo 'RUN mkdir /dist && mkdir /dist/private && mkdir /dist/public' >> Dockerfile