Skip to content

Commit

Permalink
chore: numeric user
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Apr 19, 2024
1 parent 80e3ed3 commit ff34a4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/pgadmin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ ENV POSTGRES_PORT="5432"
ENV POSTGRES_DB="*"

USER root
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh && \
touch /pgadmin4/servers.json && \
chown pgadmin:root /pgadmin4/servers.json
USER pgadmin
COPY primary_entrypoint.sh /primary_entrypoint.sh
RUN chmod +x /primary_entrypoint.sh && \
touch /pgadmin4/servers.json && \
chown pgadmin:root /pgadmin4/servers.json
USER 5050

ENTRYPOINT /entrypoint.sh
ENTRYPOINT /primary_entrypoint.sh
File renamed without changes.

0 comments on commit ff34a4b

Please sign in to comment.