-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
55 lines (46 loc) · 1.51 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Usage:
# REGISTRY_AND_USER=[] docker-compose build 2024 2023 2022 2021 2020 base slim
# REGISTRY_AND_USER=[] docker-compose push 2024 2023 2022 2021 2020 base slim
##################
# You may wonders why 20XX.1, `.1` is not month, but the version.
# This is because overleaf uses the version number to determine the texlive version.
# So, I have no choice but to use the version number as the tag.
# 你可能会奇怪为什么20XX.1,`.1`不是月份,而是版本号。
# 这是因为overleaf使用版本号来确定texlive版本。
# 所以,我别无选择,只能使用版本号作为标签。
services:
2024:
image: ${REGISTRY_AND_USER}/texlive-full:2024.1
build:
context: ./texlive/2024
dockerfile: Dockerfile
2023:
image: ${REGISTRY_AND_USER}/texlive-full:2023.1
build:
context: ./texlive/2023
dockerfile: Dockerfile
2022:
image: ${REGISTRY_AND_USER}/texlive-full:2022.1
build:
context: ./texlive/2022
dockerfile: Dockerfile
2021:
image: ${REGISTRY_AND_USER}/texlive-full:2021.1
build:
context: ./texlive/2021
dockerfile: Dockerfile
2020:
image: ${REGISTRY_AND_USER}/texlive-full:2020.1
build:
context: ./texlive/2020
dockerfile: Dockerfile
base:
image: ${REGISTRY_AND_USER}/texlive-full:base
build:
context: ./texlive/base
dockerfile: Dockerfile
slim:
image: ${REGISTRY_AND_USER}/texlive-full:slim.1
build:
context: ./texlive/slim
dockerfile: Dockerfile