Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Adapter for Structured Data Files

Create a Docker container

  • Last UpdatedJun 26, 2025
  • 1 minute read

To create a Docker container that runs the adapter:

  1. Create the following Dockerfile in the directory where you want to create and run the container.

    Note: Dockerfile is the recommended name of the file if you want to make use of the available auto builder. For more information, see the Docker Build best practices.

    FROM ubuntu:22.04

    WORKDIR /

    ENV \

    EDGE_SYSTEM_TYPE="StructuredDataFiles"

    PLATFORM="linux-x64"

    PORT="5590"

    DOTNET_RUNNING_IN_CONTAINER=true

    # Install dependencies and curl in case you would like to configure the adapter from the container

    RUN apt-get update \

    && apt-get install -y --no-install-recommends \

    ca-certificates \

    libc6 \

    libgcc-s1 \

    libicu70 \

    libssl3 \

    libstdc++6 \

    tzdata \

    zlib1g \

    curl

    # Add a user

    RUN useradd --create-home --shell /bin/bash app && \

    mkdir /usr/share/OSIsoft && \

    chown app -R /usr/share/OSIsoft

    # Remove APT tools

    RUN rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* /usr/share/man/* /usr/share/doc/* \ && rm -rf /usr/bin/apt /usr/bin/apt-get /usr/bin/dpkg /usr/bin/dpkg-deb /usr/bin/dpkg-divert

    USER app

    ADD ./${EDGE_SYSTEM_TYPE}_${PLATFORM}.tar.gz .

    ENTRYPOINT /${EDGE_SYSTEM_TYPE}_${PLATFORM}/OSIsoft.Data.System.Host --port:${PORT}

    Tip: If you are unsure of what values to use for EDGE_SYSTEM_TYPE and PLATFORM fields, you can use the tar.gz file as reference. For example, if you are using the <adapter>_linux-arm64.tar.gz file for your container, the EDGE_SYSTEM_TYPE is <adapter> and PLATFORM is linux-arm64.

    Definition:

  2. Copy the appropriate tar.gz file (for example, <adapter>-platform_.tar.gz ) to the same directory as the Dockerfile.

    Definition:

  3. Run the following command line in the same directory (sudo (superuser do) may be necessary):

    docker build -t <adapter>

    Note: You can change <adapter> to a preferred name for the container.

TitleResults for “How to create a CRG?”Also Available in