From 0c4eeec182b46c681df066ff7727ea2c71d1b1b5 Mon Sep 17 00:00:00 2001 From: Philipp Matthes Date: Fri, 23 Feb 2024 13:08:21 +0100 Subject: [PATCH] Replace old link to kaestner/latex with working one - Closes: #9 --- Dockerfile | 2 +- Makefile | 2 +- README.md | 6 +----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index caa1108..9759c2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ARG USER_ID=1000 ARG USER_NAME=latex ARG USER_HOME=/home/latex ARG USER_GECOS=LaTeX -ARG BASE_IMAGE=kaestner/latex +ARG BASE_IMAGE=ghcr.io/felix-kaestner/latex:1.0 FROM ${BASE_IMAGE} as latex diff --git a/Makefile b/Makefile index 59d5bb1..89ae555 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ DIR:=$(shell sh -c "pwd") USER_ID:=$(shell sh -c "id -u") USER_NAME:=$(shell sh -c "id -u -n") USER_HOME:=/home/latex -BASE_IMAGE:=kaestner/latex +BASE_IMAGE:=ghcr.io/felix-kaestner/latex:1.0 DOCKER_IMAGE:=mustermann/latex # Check if any of the args are empty. diff --git a/README.md b/README.md index f47322d..ef29383 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,6 @@ # better-tudscr A template for the tudscr (TUD-Script) LaTeX package. Contains an initial template for any thesis and a containerized build environment with Docker, so that you don’t have to fiddle around with the installation of LaTeX. Just build the Docker image _once_ in advance and use it to build your thesis. -## ⚠️ Help wanted - Docker build currently not functional - -Please see the Issues section of this repository, to help improve this template. Currently, the Docker image `kaestner/latex` seems to be no longer available, meaning that we have to upgrade to another image. In the meantime, this repository can still be used as a basic template for your LaTeX-based TU Dresden thesis. - ## Quickstart 1. Build the Docker image _once_ with `make container`. @@ -60,4 +56,4 @@ Instead of keeping a local copy of LaTeX, this repository simplifies the process In order to avoid user permission problems, you build a custom docker image _once_ in advance, which will create a user which has the same name and user ID as your local user on your machine. As a result there will be no problems, since the files will have the correct permissions set. -This repository uses [kaestner/latex](https://hub.docker.com/repository/docker/kaestner/latex) as the base docker image which is created by [Felix Kästner](https://felix-kaestner.com) over [here](https://github.com/felix-kaestner/latex). This image is only 1.3GB in size, which results in faster build times using the CI. +This repository uses ghcr.io/felix-kaestner/latex:1.0 as the base docker image which is created by [Felix Kästner](https://felix-kaestner.com) over [here](https://github.com/felix-kaestner/latex). This image is only 1.3GB in size, which results in faster build times using the CI.