switch to fedora:latest

This commit is contained in:
2023-01-09 17:00:04 +03:00
parent 738f59d830
commit c83ade581f
3 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM fedora:36
FROM fedora:latest
LABEL name="Tracd Standalone Server"
LABEL project="tracd"
@@ -11,7 +11,8 @@ ENV USER_GID=2000
RUN dnf -y install trac httpd-tools ;\
dnf -y clean all
RUN useradd --shell /sbin/nologin --create-home --home-dir /home/trac --uid $USER_UID trac
RUN groupadd --gid $USER_GID trac ;\
useradd --shell /sbin/nologin --create-home --home-dir /home/trac --uid $USER_UID --gid $USER_GID trac
WORKDIR /home/trac
USER trac