[damned-lies/oscp-testing] Drop the CMD given no scl is in use anymore and as such no arguments have to be passed over



commit eda49ad5e37593c84ce8f25f2b78e9876939a0fb
Author: Andrea Veri <averi redhat com>
Date:   Tue Jun 8 15:14:14 2021 +0200

    Drop the CMD given no scl is in use anymore and as such no arguments have to be passed over

 Dockerfile    | 1 -
 entrypoint.sh | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 2ac7c8af..3bb612ae 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -32,4 +32,3 @@ RUN python3.9 -m venv /l10n/venv && \
 
 ADD entrypoint.sh /entrypoint.sh
 ENTRYPOINT ["/entrypoint.sh"]
-CMD ["httpd", "-DFOREGROUND"]
diff --git a/entrypoint.sh b/entrypoint.sh
index 08645f58..3c170f34 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -15,4 +15,4 @@ echo 'Generating static files'
 echo 'Compiling translations'
 /l10n/venv/bin/python manage.py compile-trans
 
-exec "$*"
+exec httpd -DFOREGROUND


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]