Skip to content

Commit

Permalink
fix: fix entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazmi35 committed Oct 9, 2024
1 parent 4cd113b commit 453375f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/postgres-16.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ on:
- main
paths:
- "16/Dockerfile"
- "docker-entrypoint.sh"
pull_request:
branches:
- main
paths:
- "16/Dockerfile"
- "docker-entrypoint.sh"

jobs:
docker:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/postgres-17.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ on:
- main
paths:
- "17/Dockerfile"
- "docker-entrypoint.sh"
pull_request:
branches:
- main
paths:
- "17/Dockerfile"
- "docker-entrypoint.sh"

jobs:
docker:
Expand Down
2 changes: 1 addition & 1 deletion 16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN apk update && apk add --no-cache git gcc musl-dev \
# TimescaleDB extension
FROM docker.io/timescale/timescaledb:2.17.0-pg16-bitnami AS timescaledb

# Select and copy the last 3 versions of the extension
# Select and copy the last 3 versions of the extension
RUN cd /opt/bitnami/postgresql/lib \
&& cp timescaledb.so /tmp \
&& cp -r $(ls . | grep timescaledb- | sort | tail -n 3) /tmp \
Expand Down
2 changes: 1 addition & 1 deletion 17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN apk update && apk add --no-cache git gcc musl-dev \
# TimescaleDB extension
FROM docker.io/timescale/timescaledb:2.17.0-pg17-bitnami AS timescaledb

# Select and copy the last 3 versions of the extension
# Select and copy the last 3 versions of the extension
RUN cd /opt/bitnami/postgresql/lib \
&& cp timescaledb.so /tmp \
&& cp -r $(ls . | grep timescaledb- | sort | tail -n 3) /tmp \
Expand Down
Empty file modified docker-entrypoint.sh
100644 → 100755
Empty file.

0 comments on commit 453375f

Please sign in to comment.