40 lines
743 B
Docker
40 lines
743 B
Docker
FROM pandoc/core:latest AS pandoc
|
|
|
|
FROM gitea/gitea:latest AS gitea
|
|
|
|
COPY --from=pandoc /usr/local/bin/pandoc /usr/local/bin/pandoc
|
|
|
|
COPY custom/app.ini /data/gitea/conf/app.ini
|
|
COPY custom/basic.html /data/gitea/templates/basic.html
|
|
|
|
RUN apk --no-cache add \
|
|
asciidoctor \
|
|
freetype \
|
|
freetype-dev \
|
|
gcc \
|
|
g++ \
|
|
libpng \
|
|
libffi-dev \
|
|
py-pip \
|
|
python3-dev \
|
|
py3-pip \
|
|
py3-pyzmq \
|
|
lua5.3 \
|
|
lua5.3-lpeg \
|
|
gmp \
|
|
librsvg
|
|
|
|
#RUN apk --no-cache add \
|
|
# freetype \
|
|
# fontconfig \
|
|
# gnupg \
|
|
# gzip \
|
|
# perl \
|
|
# tar \
|
|
# wget \
|
|
# xz
|
|
|
|
RUN pip3 install --upgrade pip
|
|
RUN pip3 install -U setuptools
|
|
RUN pip3 install --ignore-installed pyzmq
|
|
RUN pip3 install jupyter docutils |