Skip to content

Commit

Permalink
fix: Update Dockerfile and entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
SenexCrenshaw committed Feb 8, 2024
1 parent 5158e5f commit 80270b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM --platform=$BUILDPLATFORM docker.io/senexcrenshaw/streammaster:0.9.0-sm AS sm
FROM --platform=$BUILDPLATFORM docker.io/senexcrenshaw/streammaster:0.9.0-base AS base
FROM --platform=$BUILDPLATFORM docker.io/senexcrenshaw/streammaster:0.9.1-sm AS sm
FROM --platform=$BUILDPLATFORM docker.io/senexcrenshaw/streammaster:0.9.1-base AS base
ARG TARGETPLATFORM
ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
ARG TARGETARCH
Expand Down
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ if [ $POSTGRES_SET_PERMS -eq 1 ]; then
chown -R postgres:postgres $PGDATA
fi


# Start the database
/usr/local/bin/docker-entrypoint.sh postgres &

Expand Down
2 changes: 1 addition & 1 deletion env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ export POSTGRES_PASSWORD="${POSTGRES_PASSWORD:-$default_dbpassword}"
export PGDATA=/config/DB
export POSTGRES_DB="${POSTGRES_DB:-$default_db}"
export POSTGRES_SET_PERMS="${POSTGRES_SET_PERMS:-$default_set_perms}"
export PATH=$PATH:/usr/lib/postgresql/15/bin
export PATH=$PATH:/usr/lib/postgresql/15/bin

0 comments on commit 80270b6

Please sign in to comment.