Files
the-sourdough-framework/Dockerfile
Ced fc876a7d00 Remove kindlegen
Not needed anymore now that we don't do azw3 files anymore.
2023-10-13 10:06:19 +01:00

36 lines
904 B
Docker

FROM registry.gitlab.com/islandoftex/images/texlive
LABEL "maintainer"="Hendrik Kleinwächter <hendrik.kleinwaechter@gmail.com>"
LABEL "repository"="https://github.com/hendricius/the-sourdough-framework"
LABEL "homepage"="https://github.com/hendricius/the-sourdough-framework"
LABEL org.opencontainers.image.source="https://github.com/hendricius/the-sourdough-framework"
# Print release information if needed
# RUN cat /etc/*release*
# Install base depdendencies
RUN apt-get update && \
apt-get install --yes -y --no-install-recommends \
sudo \
make \
tidy \
pandoc \
zip \
git \
wget \
ruby3.1 \
ruby-dev \
imagemagick \
build-essential
WORKDIR /root
# Install ruby for the website build process
RUN gem install bundler
COPY website/Gemfile.lock /root
COPY website/Gemfile /root
COPY website/.ruby-version /root
RUN bundle install
CMD ["/bin/bash"]