forked from aergus/dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathDockerfile
More file actions
44 lines (35 loc) · 929 Bytes
/
Dockerfile
File metadata and controls
44 lines (35 loc) · 929 Bytes
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
FROM alpine:3.23.2@sha256:865b95f46d98cf867a156fe4a135ad3fe50d2056aa3f25ed31662dff6da4eb62
HEALTHCHECK NONE
ENTRYPOINT []
ARG USER_NAME=latex
ARG USER_HOME=/home/latex
ARG USER_ID=1000
ARG USER_GECOS=LaTeX
SHELL ["/bin/ash", "-euo", "pipefail", "-c"]
RUN apk upgrade --no-cache \
&& apk add --no-cache \
aspell=0.60.8.1-r0 \
aspell-en=2020.12.07-r0 \
aspell-fr=0.50.3-r0 \
aspell-ru=0.99_p7-r2 \
aspell-uk=1.4.0-r3 \
# FIXME biber=2.21-r0 \
coreutils=9.8-r1 \
curl=8.17.0-r1 \
git=2.52.0-r0 \
make=4.4.1-r3 \
pandoc-cli=3.8.2.1-r0 \
py3-pip=25.1.1-r1 \
python3=3.12.12-r0 \
texlive-full=2025.2-r0 \
&& apk cache --no-cache clean \
&& rm -rf /var/cache/apk/*
RUN adduser \
--home "${USER_HOME}" \
--uid "${USER_ID}" \
--gecos "${USER_GECOS}" \
--disabled-password \
"${USER_NAME}"
USER "${USER_NAME}"
ENV HOME="${USER_HOME}"
WORKDIR "${HOME}"