Skip to content
This repository was archived by the owner on Dec 30, 2025. It is now read-only.

Commit 26e2747

Browse files
committed
fix(ircd): add ircd user to take claim of services
1 parent 84f8e3a commit 26e2747

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ RUN ./configure --prefix=/usr/local/atheme && \
6363

6464
FROM base AS dev
6565

66+
RUN groupadd --system --gid 1001 ircd && \
67+
useradd --system --uid 1001 --gid ircd ircd
68+
6669
RUN mkdir -p /usr/local
67-
COPY --from=builder /usr/local/atheme /usr/local/atheme
68-
COPY --from=builder /usr/local/unrealircd /usr/local/unrealircd
70+
COPY --from=builder --chown=ircd:ircd /usr/local/atheme /usr/local/atheme
71+
COPY --from=builder --chown=ircd:ircd /usr/local/unrealircd /usr/local/unrealircd

0 commit comments

Comments
 (0)