Versions Compared

Key

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

...

Code Block
FROM redhat/ubi8
### Update redhat libraries (libidn is needed to start iguana service)
RUN yum -y update
RUN yum -y install procps
RUN yum -y install libidn.x86_64

### Download, unzip, and run Iguana service
RUN cd /mnt && \
curl --insecure -L -o iguana_6_1_5_linux_centos7_x64.tar.gz https://dl.interfaceware.com/iguana/linux/6_1_5/iguana_6_1_5_linux_centos7_x64.tar.gz && \
tar -xvzf iguana_6_1_5_linux_centos7_x64.tar.gz
ENTRYPOINT ["/mnt/iNTERFACEWARE-Iguana/iguana", "--run"]

Sample Docker Build and Run Commands

Code Block
languageactionscript3
## Build Docker Image from Dockerfile
docker build -t iguana-app:1.0 .

# Run Docker image with Iguana Dashboard and HTTP ports binding
docker run -p 8543:6543 -p 8544:6544 --name IguanaDocker -it iguana-app:1.0 bash

Consideration

Run shell script (.sh) in ENTRYPOINT

...