Skip to content

Commit

Permalink
Removed fixed userid in both service and checker
Browse files Browse the repository at this point in the history
  • Loading branch information
Hennich committed Nov 7, 2024
1 parent 0468e63 commit 2b7d793
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/enochecker_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
runs-on: self-hosted
#runs-on: self-hosted
env:
ENOCHECKER_TEST_CHECKER_ADDRESS: localhost
ENOCHECKER_TEST_CHECKER_PORT: 55523
Expand Down
4 changes: 2 additions & 2 deletions checker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM python:3.9-buster
RUN apt-get update && apt-get update -y

# add checker user
RUN useradd -ms /bin/bash -u 1000 checker
RUN useradd -ms /bin/bash checker

WORKDIR /checker

Expand All @@ -13,4 +13,4 @@ RUN python3 -m pip install -r requirements.txt

COPY ./src .
EXPOSE 8000
ENTRYPOINT [ "/home/checker/.local/bin/gunicorn", "-c", "gunicorn.conf.py", "checker:app" ]
ENTRYPOINT [ "/home/checker/.local/bin/gunicorn", "-c", "gunicorn.conf.py", "checker:app" ]
2 changes: 1 addition & 1 deletion service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get install -y xinetd
RUN apt-get install -y ncat

RUN addgroup --system author
RUN adduser --system --ingroup author --uid 1001 author
RUN adduser --system --ingroup author author

#RUN useradd author

Expand Down

0 comments on commit 2b7d793

Please sign in to comment.