Replace line breaks and run startup script with bash

pull/57/head
Dirk Mennecke 2024-05-24 15:06:12 +02:00
parent 0d4736fc3a
commit 5857fa382b
1 changed files with 2 additions and 2 deletions

View File

@ -142,9 +142,9 @@ RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
# GeoServer user => restrict access to $CATALINA_HOME and GeoServer directories
# See also CIS Docker benchmark and docker best practices
RUN chmod +x /opt/*.sh
RUN chmod +x /opt/*.sh && sed -i 's/\r$//' /opt/startup.sh
ENTRYPOINT ["/opt/startup.sh"]
ENTRYPOINT ["bash", "/opt/startup.sh"]
WORKDIR /opt