notes/gollum/Dockerfile

16 lines
588 B
Docker
Executable File

FROM frolvlad/alpine-glibc:alpine-3.9_glibc-2.28
RUN apk update; \
apk add --no-cache ruby dcron bash cmake ruby-dev make icu-dev gcc libc-dev zlib-dev g++ openssl openssl-dev git; \
gem install rdoc || true; \
gem install github-linguist gollum org-ruby thin etc || true; \
gem install rdoc || true; \
apk del gcc g++ libc-dev zlib-dev openssl openssl-dev cmake make;
RUN gem install github-markup commonmarker || true;
# TODO what gems needed to render tables with markdown
ENV PORT=8080
CMD []
WORKDIR /wiki
COPY . /opt/
ENTRYPOINT ["/bin/bash", "/opt/entrypoint.sh"]