Skip to content

Commit

Permalink
Use image texlive/texlive:pretest for TeX Live 2024 images
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Mar 15, 2024
1 parent ef6c9d0 commit 9549a5d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ LASTMODIFIED=$(shell git log -1 --date=format:%Y-%m-%d --format=%ad)
ifndef DOCKER_TEXLIVE_TAG
DOCKER_TEXLIVE_TAG=latest
endif
ifeq ($(DOCKER_TEXLIVE_TAG), latest)
DOCKER_FROM_TAG=pretest
else
DOCKER_FROM_TAG=$(DOCKER_TEXLIVE_TAG)
endif
ifeq ($(DOCKER_DEV_IMAGE), true)
DOCKER_TAG_POSTFIX=-no_docs
endif
Expand All @@ -87,7 +92,7 @@ base: $(INSTALLABLES) $(LIBRARIES)

# This pseudo-target builds a witiko/markdown Docker image.
docker-image:
DOCKER_BUILDKIT=1 docker build --pull --build-arg TEXLIVE_TAG=$(DOCKER_TEXLIVE_TAG) \
DOCKER_BUILDKIT=1 docker build --pull --build-arg TEXLIVE_TAG=$(DOCKER_FROM_TAG) \
--build-arg DEV_IMAGE=$(DOCKER_DEV_IMAGE) \
-t $(DOCKER_TEMPORARY_IMAGE):$(DOCKER_TEMPORARY_TAG) .

Expand Down

0 comments on commit 9549a5d

Please sign in to comment.