Skip to content

Commit

Permalink
Try using exec "$@" magic
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jul 23, 2024
1 parent 54fc30b commit 135ffdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
umask 0002
lvmcam $LVMCAM_CONFIG_FILE start --debug
exec "$@"
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ RUN echo "umask 0002" >> /etc/bash.bashrc
RUN rm -Rf lvmcam araviscam

COPY ./docker-entrypoint.sh /

ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["sh", "-c", "lvmcam $LVMCAM_CONFIG_FILE start --debug"]

0 comments on commit 135ffdd

Please sign in to comment.