File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ RUN apt-get update && apt-get install -y curl unzip \
1919 && useradd -m -r -u 1001 -g root $OPENIG_USER \
2020 && install -d -o $OPENIG_USER $OPENIG_BASE \
2121 && chown -R $OPENIG_USER:root $CATALINA_HOME \
22+ && chgrp -R 0 $CATALINA_HOME \
23+ && chmod -R g=u $CATALINA_HOME \
24+ && chgrp -R 0 $OPENIG_BASE \
25+ && chmod -R g=u $OPENIG_BASE \
2226 && apt-get remove -y --purge unzip && rm -rf /var/lib/apt/lists/* \
2327 && sed -i '/<\/ Host>/i \ \ \ \ <Valve className=\" org.apache.catalina.valves.RemoteIpValve\" httpServerPort=\" 8080\" httpsServerPort=\" 443\" />' $CATALINA_HOME/conf/server.xml
2428
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ RUN apk add --update --no-cache --virtual curl builddeps unzip bash && apk upgra
1818 && adduser -S -u 1001 -G root $OPENIG_USER \
1919 && install -d -o $OPENIG_USER $OPENIG_BASE \
2020 && chown -R $OPENIG_USER $CATALINA_HOME \
21+ && chgrp -R 0 $CATALINA_HOME \
22+ && chmod -R g=u $CATALINA_HOME \
23+ && chgrp -R 0 $OPENIG_BASE \
24+ && chmod -R g=u $OPENIG_BASE \
2125 && apk del unzip && rm -rf /var/cache/apk/* \
2226 && sed -i '/<\/Host>/i \ \ \ \ <Valve className=\"org.apache.catalina.valves.RemoteIpValve\" httpServerPort=\"8080\" httpsServerPort=\"443\" />' $CATALINA_HOME/conf/server.xml
2327
You can’t perform that action at this time.
0 commit comments