# Use the official Ignition image
ARG IGNITION_VERSION=8.3.2
FROM inductiveautomation/ignition:${IGNITION_VERSION}

# COPY ./gw-build/Tag-CICD.modl /usr/local/bin/ignition/user-lib/modules/
#COPY ./gw-build/MQTT-Distributor-signed.modl /usr/local/bin/ignition/user-lib/modules/

USER root

# Update the package list and install utilities
RUN apt-get update && apt-get install -y \
    iputils-ping \
    htop \
    nano \
    net-tools \
    traceroute \
    && apt-get clean && rm -rf /var/lib/apt/lists/*


# Expose required ports
EXPOSE 8088 1883