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

View File

@@ -16,7 +16,7 @@ Here are some example snippets to help you get started creating a container.
version: "3"
services:
server:
image: bitdeals/trac:latest
image: bitdeals/trac:1.5.3-fedora
environment:
- USER_UID=2000
- USER_GID=2000

View File

@@ -6,7 +6,7 @@ networks:
services:
server:
image: bitdeals/trac:1.5.3-fedora36
image: bitdeals/trac:1.5.3-fedora
build: ./Docker
container_name: trac
environment: