-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (26 loc) · 988 Bytes
/
Copy pathDockerfile
File metadata and controls
31 lines (26 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ---------------------------
# Base Image: Java + Tools
# ---------------------------
FROM openjdk:22-jdk-slim
LABEL org.opencontainers.image.title="docs-toolbox" \
org.opencontainers.image.description="A lightweight Docker image for running Docs-as-Code pipelines in a fully reproducible environment — locally and in CI." \
org.opencontainers.image.source="https://github.com/docs-as-code-toolkit/docs-toolbox" \
org.opencontainers.image.licenses="MIT"
# Install system dependencies
RUN apt-get update && apt-get install -y \
asciidoctor \
pandoc \
graphviz \
unzip \
curl \
python3 \
nodejs \
npm \
fonts-crosextra-carlito \
&& gem install --no-document asciidoctor-diagram asciidoctor-diagram-plantuml asciidoctor-revealjs \
&& rm -rf /var/lib/apt/lists/*
COPY scripts/docs-toolbox-serve /usr/local/bin/docs-toolbox-serve
# Arbeitsverzeichnis
WORKDIR /app
# Flexible entrypoint – beliebige Commands
ENTRYPOINT []