-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
63 lines (57 loc) · 1.6 KB
/
Dockerfile
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
56
57
58
59
60
61
62
63
FROM fedora:38
LABEL Description="MiKTeX build environment, Fedora 38" Vendor="Christian Schenk" Version="24.2.16"
RUN \
dnf install -y \
apr-devel \
apr-util-devel \
bison \
boost-devel \
bzip2-devel \
cairo-devel \
cmake \
curl \
curl-devel \
flex \
fribidi-devel \
gcc \
gcc-c++ \
git \
gpg \
gd-devel \
gmp-devel \
graphite2-devel \
hunspell-devel \
libicu-devel \
libmspack-devel \
libxslt \
log4cxx-devel \
make \
mpfi-devel \
mpfr-devel \
openssl-devel \
popt-devel \
potrace-devel \
qt5-linguist \
qt5-qtbase-devel \
qt5-qtdeclarative-devel \
qt5-qtscript-devel \
qt5-qttools \
qt5-qttools-static \
rpm-build \
uriparser-devel \
xz-devel \
zziplib-devel
RUN \
export GNUPGHOME="$(mktemp -d)"; \
gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; \
curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.14/gosu-amd64"; \
curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.14/gosu-amd64.asc"; \
gpg --batch --verify /usr/local/bin/gosu.asc; \
rm /usr/local/bin/gosu.asc; \
chmod +x /usr/local/bin/gosu
RUN mkdir /miktex
WORKDIR /miktex
COPY scripts/*.sh /miktex/
COPY entrypoint.sh /miktex/
ENTRYPOINT ["/miktex/entrypoint.sh"]
CMD ["/miktex/make-package.sh"]