-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
30 lines (23 loc) · 923 Bytes
/
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
FROM opensuse/leap:latest
LABEL Description="MiKTeX test environment, openSUSE Leap latest" Vendor="Christian Schenk" Version="2.9.6779"
RUN zypper update -y
RUN zypper install -y \
cmake \
curl \
ghostscript \
gpg \
make \
unzip \
zip
RUN gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
&& curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64" \
&& curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64.asc" \
&& gpg --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/test.sh"]