Skip to content

Commit

Permalink
Use trixie as base image
Browse files Browse the repository at this point in the history
  • Loading branch information
hendricius committed Nov 23, 2023
1 parent 6b56aea commit 6b825d3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM registry.gitlab.com/islandoftex/images/texlive
FROM debian:trixie

LABEL "maintainer"="Hendrik Kleinwächter <[email protected]>"
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*
RUN cat /etc/*release*

# Install base depdendencies
RUN apt-get update && \
Expand All @@ -24,6 +24,12 @@ RUN apt-get update && \
imagemagick \
build-essential

# Install TeX
RUN apt-get update && \
apt-get install -y --no-install-recommends \
texlive-full \
texlive-luatex

WORKDIR /root

# Install ruby for the website build process
Expand Down
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ build_docker_image:
push_docker_image: build_docker_image
docker push $(DOCKER_IMAGE):latest

# Books/website
# Books/website

# Quicker run for each commit, shall catch most problems
validate:
$(DOCKER_CMD) "cd /opt/repo/book && make -j build_serif_pdf build_ebook"

build_pdf:
$(DOCKER_CMD) "cd /opt/repo/book && make"
$(DOCKER_CMD) "cd /opt/repo/book && make"

bake:
$(DOCKER_CMD) "cd /opt/repo/book && make -j bake"
Expand Down

0 comments on commit 6b825d3

Please sign in to comment.