Skip to content

Commit 0d1db07

Browse files
committed
Numeric User in Deployer & Changed UID Script to Bash
The 'uid_daemon.sh' script now uses Bash, while the "daemon" user in the Deployer Dockerfiles has been updated to use numeric user 2 instead of "daemon".
1 parent 29e9587 commit 0d1db07

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bin/uid_daemon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/bash
22

33
# Copyright 2020 Crunchy Data Solutions, Inc.
44
# Licensed under the Apache License, Version 2.0 (the "License");

centos7/Dockerfile.pgo-deployer.centos7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ RUN chmod g=u /uid_daemon.sh
2626

2727
ENTRYPOINT ["/uid_daemon.sh"]
2828

29-
USER daemon
29+
USER 2
3030

3131
CMD ["/pgo-deploy.sh"]

rhel7/Dockerfile.pgo-deployer.rhel7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ RUN chmod g=u /uid_daemon.sh
2626

2727
ENTRYPOINT ["/uid_daemon.sh"]
2828

29-
USER daemon
29+
USER 2
3030

3131
CMD ["/pgo-deploy.sh"]

0 commit comments

Comments
 (0)