Skip to content

Commit 7d9078f

Browse files
committed
Adding an entry_point.sh, fixes #801, fixes #800 and fixes 797
1 parent 5de2f42 commit 7d9078f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Base/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ RUN mkdir -p /opt/bin
5858
#======================================
5959
# Add Grid check script
6060
#======================================
61-
COPY check-grid.sh /opt/bin/
61+
COPY check-grid.sh entry_point.sh /opt/bin/
6262
RUN chmod +x /opt/bin/check-grid.sh
6363

6464
#======================================
@@ -86,4 +86,4 @@ RUN sudo mkdir -p /opt/selenium \
8686
&& sudo chown -R seluser:seluser /var/log/supervisor
8787

8888

89-
CMD ["/usr/bin/supervisord", "--configuration", "/etc/supervisord.conf"]
89+
CMD ["/opt/bin/entry_point.sh"]

Base/entry_point.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
3+
/usr/bin/supervisord --configuration /etc/supervisord.conf

0 commit comments

Comments
 (0)