-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (19 loc) · 755 Bytes
/
Dockerfile
File metadata and controls
26 lines (19 loc) · 755 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
### Release image
FROM alpine:3.23.3@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659
LABEL org.opencontainers.image.source="https://github.com/patrickhoefler/dockerfilegraph"
# renovate: datasource=repology depName=alpine_3_22/font-dejavu versioning=loose
ENV FONT_DEJAVU_VERSION="2.37-r6"
# renovate: datasource=repology depName=alpine_3_22/graphviz versioning=loose
ENV GRAPHVIZ_VERSION="12.2.1-r0"
RUN apk add --update --no-cache \
font-dejavu="${FONT_DEJAVU_VERSION}" \
graphviz="${GRAPHVIZ_VERSION}" \
\
# Add a non-root user
&& adduser -D app
# Run as non-root user
USER app
# This only works after running `task build-linux`
# or when using goreleaser
COPY dockerfilegraph /
ENTRYPOINT ["/dockerfilegraph"]