Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

satosa proxy started as satosa user #168

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ ENV BASEDIR="/satosa_proxy"
RUN apk add --update --no-cache tzdata mailcap xmlsec libffi-dev openssl-dev python3 py3-pip python3-dev procps git openssl build-base gcc wget bash jq yq-go pcre-dev

RUN python3 -m venv .venv && . .venv/bin/activate && pip3 install --upgrade pip setuptools \
&& pip3 install -r requirements.txt --ignore-installed --root-user-action=ignore && mkdir $BASEDIR
&& pip3 install -r requirements.txt --ignore-installed --root-user-action=ignore && mkdir $BASEDIR \
&& addgroup -S satosa && adduser -S satosa -G satosa \
&& chown satosa:satosa $BASEDIR

RUN pip list

Expand Down
4 changes: 2 additions & 2 deletions example/uwsgi_setup/uwsgi/uwsgi.ini.docker
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ base = /opt

chdir = /satosa_proxy

uid = root
gid = root
uid = satosa
gid = satosa

socket = 0.0.0.0:10000
master = true
Expand Down
Loading