Skip to content

Commit e39e54d

Browse files
Merge pull request #2 from easel/entrypoint
Replace entrypoint, avoiding server startup in utility container
2 parents af332e2 + 6114b88 commit e39e54d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ RUN apt-get update --fix-missing && \
55

66
COPY scripts .
77
RUN chmod +x ./*.sh && bash ./install_pg_repack.sh
8+
ENTRYPOINT ["pg_repack"]
9+
CMD ["--help"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ https://hub.docker.com/r/hartmutcouk/pg-repack-docker/
1717

1818
### run (example)
1919

20-
docker run -e PGPASSWORD=supersecure -it --rm hartmut-co-uk/pg-repack-docker pg_repack -h localhost -U dbroot --dbname=dbname --dry-run --table=table1 --only-indexes --no-superuser-check
20+
docker run -e PGPASSWORD=supersecure -it --rm hartmut-co-uk/pg-repack-docker -h localhost -U dbroot --dbname=dbname --dry-run --table=table1 --only-indexes --no-superuser-check
2121

0 commit comments

Comments
 (0)