Replace line breaks and run startup script with bash
parent
701203821a
commit
f6b80ad40d
|
|
@ -149,12 +149,12 @@ RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
|
||||||
|
|
||||||
# GeoServer user => restrict access to $CATALINA_HOME and GeoServer directories
|
# GeoServer user => restrict access to $CATALINA_HOME and GeoServer directories
|
||||||
# See also CIS Docker benchmark and docker best practices
|
# 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
|
||||||
|
|
||||||
ENV WEBAPP_CONTEXT=geoserver
|
ENV WEBAPP_CONTEXT=geoserver
|
||||||
ENV HEALTHCHECK_URL=''
|
ENV HEALTHCHECK_URL=''
|
||||||
|
|
||||||
ENTRYPOINT ["/opt/startup.sh"]
|
ENTRYPOINT ["bash", "/opt/startup.sh"]
|
||||||
|
|
||||||
WORKDIR /opt
|
WORKDIR /opt
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue