-
-
Notifications
You must be signed in to change notification settings - Fork 95
/
Dockerfile.texlive2020
28 lines (21 loc) · 1.03 KB
/
Dockerfile.texlive2020
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
#####################################################################################
# Compile this dockerfile with
# time sudo docker build -t aslushnikov/latex-online:latest -f Dockerfile .
# Run docker image
# sudo docker run -d -p 2700:2700 --rm --name latex-online aslushnikov/latex-online:latest
#####################################################################################
# Latex-Online container
# Rely on official texlive base image.
# Description: https://gitlab.com/islandoftex/images/texlive
# Registry viewer: https://gitlab.com/islandoftex/images/texlive/container_registry
FROM registry.gitlab.com/islandoftex/images/texlive:TL2020-historic-src
MAINTAINER Andrey Lushnikov [email protected]
RUN apt-get update && \
apt-get install ca-certificates -y && \
update-ca-certificates
# Install git & Node.JS
RUN apt-get clean && apt-get update && apt-get install -y git-core nodejs npm && \
rm -rf /var/lib/apt/lists/*
COPY ./util/docker-entrypoint.sh /
EXPOSE 2700
CMD ["./docker-entrypoint.sh"]