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

AVEVA™ Adapter for Azure Event Hubs

Create a Docker container

  • Last UpdatedSep 30, 2024
  • 1 minute read

To create a Docker container that runs the adapter, follow the instructions below.

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

    Note: Dockerfile is the required name of the file. Use the variation according to your operating system:

    ARM32

    FROM ubuntu

    WORKDIR /

    RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y ca-certificates libicu70 libssl13 curl

    COPY <adapter>dockerstart.sh /

    RUN chmod +x /<adapter>dockerstart.sh

    ADD ./<adapter>-arm_.tar.gz .

    ENTRYPOINT ["/<adapter>dockerstart.sh"]

    ARM64

    FROM ubuntu

    WORKDIR /

    RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y ca-certificates libicu70 libssl13 curl

    COPY <adapter>dockerstart.sh /

    RUN chmod +x /<adapter>dockerstart.sh

    ADD ./<adapter>-arm64_.tar.gz .

    ENTRYPOINT ["/<adapter>dockerstart.sh"]

    AMD64 (x64)

    FROM ubuntu

    WORKDIR /

    RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y ca-certificates libicu70 libssl13 curl

    COPY <adapter>dockerstart.sh /

    RUN chmod +x /<adapter>dockerstart.sh

    ADD ./<adapter>-x64_.tar.gz .

    ENTRYPOINT ["/<adapter>dockerstart.sh"]

  2. Copy the <adapter>-platform_.tar.gz file to the same directory as the Dockerfile.

  3. Copy the <adapter>dockerstart.sh script to the same directory as the Dockerfile.

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

    docker build -t <adapter>adapter.

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