| 1 | #!/bin/sh |
| 2 | |
| 3 | # Fixed GID/UID values as this users was previously included in the |
| 4 | # default /etc/passwd as shipped by main/alpine-baselayout. |
| 5 | |
| 6 | addgroup -g 70 -S postgres 2>/dev/null |
| 7 | adduser -u 70 -S -D -H -h /var/lib/postgresql -g "PostgreSQL user" \ |
| 8 | -s /bin/sh -G postgres postgres 2>/dev/null |
| 9 | |
| 10 | exit 0 |