File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
openam-distribution/openam-distribution-docker Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ RUN rm -rf $CATALINA_HOME/webapps/* \
2828 && chmod -R g=u /usr/openam/ \
2929 && useradd -m -r -u 1001 -g root $OPENAM_USER \
3030 && install -d -o $OPENAM_USER $OPENAM_DATA_DIR \
31- && chown -R $OPENAM_USER:root $CATALINA_HOME
31+ && chown -R $OPENAM_USER:root $CATALINA_HOME \
32+ && sed -i '/<\/ Host>/i \ \ \ \ <Valve className=\" org.apache.catalina.valves.RemoteIpValve\" httpServerPort=\" 8080\" httpsServerPort=\" 443\" />' $CATALINA_HOME/conf/server.xml
3233
3334RUN apt-get remove -y --purge unzip \
3435 && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ RUN rm -rf $CATALINA_HOME/webapps/* \
2727 && chmod -R g=u /usr/openam/ \
2828 && adduser -S -u 1001 -G root $OPENAM_USER \
2929 && install -d -o $OPENAM_USER $OPENAM_DATA_DIR \
30- && chown -R $OPENAM_USER:root $CATALINA_HOME/webapps
30+ && chown -R $OPENAM_USER:root $CATALINA_HOME/webapps \
31+ && sed -i '/<\/Host>/i \ \ \ \ <Valve className=\"org.apache.catalina.valves.RemoteIpValve\" httpServerPort=\"8080\" httpsServerPort=\"443\" />' $CATALINA_HOME/conf/server.xml
3132
3233RUN apk del unzip && rm -rf /var/cache/apk/*
3334
You can’t perform that action at this time.
0 commit comments