Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
COPY /configs-and-secrets/httpd/ip4.sh /opt/grouper/grouper.apiBinary/bin/ip4.sh
RUN chmod +x /opt/grouper/grouper.apiBinary/bin/ip4.sh
RUN dos2unix /opt/grouper/grouper.apiBinary/bin/ip4.sh

test it:

Code Block
[root@c6d6d43d837c ~]# /opt/grouper/grouper.apiBinary/bin/ip4.sh 
220

Image Added


Make an SSI html page

ip4.shtml

Code Block
ip4: <!--#exec cmd="/opt/grouper/grouper.apiBinary/bin/ip4.sh" -->

copy in Dockerfile

Code Block
COPY /configs-and-secrets/httpd/ip4.shtml /var/www/html/ip4.shtml


Browser demo

Image Added

Show in aws

Image Added