Skip to content

Commit 4282175

Browse files
committed
Use symlink for wait script
1 parent 1e515fa commit 4282175

File tree

6 files changed

+6
-3
lines changed

6 files changed

+6
-3
lines changed

15.0/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ EXPOSE 8069 8071 8072
7979
# Set the default config file
8080
ENV ODOO_RC /etc/odoo/odoo.conf
8181

82-
COPY ../shared/wait-for-psql.py /usr/local/bin/wait-for-psql.py
82+
COPY wait-for-psql.py /usr/local/bin/wait-for-psql.py
8383

8484
# Set default user when running the container
8585
USER odoo

15.0/wait-for-psql.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../shared/wait-for-psql.py

16.0/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ EXPOSE 8069 8071 8072
9393
# Set the default config file
9494
ENV ODOO_RC /etc/odoo/odoo.conf
9595

96-
COPY ../shared/wait-for-psql.py /usr/local/bin/wait-for-psql.py
96+
COPY wait-for-psql.py /usr/local/bin/wait-for-psql.py
9797

9898
# Set default user when running the container
9999
USER odoo

16.0/wait-for-psql.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../shared/wait-for-psql.py

17.0/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ EXPOSE 8069 8071 8072
9595
# Set the default config file
9696
ENV ODOO_RC /etc/odoo/odoo.conf
9797

98-
COPY ../shared/wait-for-psql.py /usr/local/bin/wait-for-psql.py
98+
COPY wait-for-psql.py /usr/local/bin/wait-for-psql.py
9999

100100
# Set default user when running the container
101101
USER odoo

17.0/wait-for-psql.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../shared/wait-for-psql.py

0 commit comments

Comments
 (0)