forked from linuxserver-archive/docker-quassel-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (20 loc) · 757 Bytes
/
Copy pathDockerfile
File metadata and controls
29 lines (20 loc) · 757 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
# syntax=docker/dockerfile:1
FROM alpine:3.24
ARG QUASSEL_APK_VERSION=0.14.0-r17
ARG VERSION=0.14.0
LABEL org.opencontainers.image.title="quassel-core" \
org.opencontainers.image.description="Lightweight Quassel IRC core for Kubernetes" \
org.opencontainers.image.version="${VERSION}" \
org.opencontainers.image.source="https://github.com/rich0/quassel-core"
RUN apk add --no-cache --no-scripts \
quassel-core=${QUASSEL_APK_VERSION} \
openssl \
&& addgroup -g 1000 quassel \
&& adduser -D -u 1000 -G quassel -h /config quassel
COPY --chown=quassel:quassel --chmod=755 entrypoint.sh /entrypoint.sh
ENV HOME=/config
USER 1000:1000
VOLUME /config
EXPOSE 4242 10113
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]
CMD []