...
Downloading a Universal Agent Docker Image
Universal Agent Images are available based on the following RedHat Linux and Debian base images.
RedHat = registry.access.redhat.com/ubi8/ubi:latest
Debian = debian:latest
To download an image from the Docker Hub, run the following command:
Panel |
---|
docker pull stonebranch/universal-agent:latest |
Available Tags
Description | Tags |
UA 7.2.0.0 Redhat | latest, 7.2.0.0 |
UA 7.2.0.0 Debian | debian-latest, debian-7.2.0.0 |
UA 7.1.0.0 Redhat | 7.1.0.0 |
UA 7.0.0.0 Redhat | 7.0.0.0 |
UA 6.9.0.1 Redhat | 6.9.0.1 |
To list the downloaded images from the Stonebranch repository, run the following command:
Panel |
---|
docker images -a stonebranch/universal-agent REPOSITORY | TAG | IMAGE ID | CREATED | SIZE |
---|
stonebranch/universal-agent | 6.6.0.1 | bc9dfbf7d367 | 19 hours ago debian-latest | ae21b1fa64cc | 2 hours ag | 1. 04GB39GB | stonebranch/universal-agent | latest | bc9dfbf7d367 157f01823f68 | 19 hours 13 days ago | 1. 04GB54GB |
|
These images were created with the following
Expand |
---|
|
# Set the base image to RedHat UBI FROM registry.access.redhat.com/ubi8/ubi:latest # create label LABEL name="universal-agent" LABEL vendor="Stonebranch" LABEL version="${ua_version}" LABEL release="GA" LABEL summary="Universal Agent installed in a UBI based Image" LABEL description="Universal Agent can be used for Scheduling and File Transfer" # MAINTAINER LABEL author="Colin Cocksedge <colin<colin.cocksedge@stonebranchcocksedge@stonebranch.com>" # # create license directory and add product license RUN mkdir /licenses ADD /licenses/Terms_and_Conditions.pdf /licenses # Install ua ARG ua_version ADD /install-files/sb-${ua_version}-linux-3.10-x86_64.tar.Z /tmp RUN zcat /tmp/sb-${ua_version}-linux-3.10-x86_64.tar.Z | tar xvf - && ./unvinst --network_provider oms --oms_servers 7878@localhost --python yes --oms_port 7878 --security inherit --ubroker_start no && rm unvinst *.rpm *.tar upimerge.sh upimerge.log usrmode.inc install.log /tmp/sb-${ua_version}-linux-3.10-x86_64.tar.Z EXPOSE 7887 7878 # # Set Permissions for Arbitrary ID Support RUN chgrp -R 0 /etc/universal && chmod -R g=u /etc/universal && chgrp -R 0 /opt/universal && chmod -R g=u /opt/universal && chgrp -R 0 /var/opt/universal && chmod -R g=u /var/opt/universal && chmod g=u /etc/passwd # Temp Change RUN /opt/universal/python/bin/pip3.7 install cryptography --upgrade # Update path ENV PATH "$PATH:/opt/universal/bin" # Set Default userid USER 10010 # Add entrypoint script COPY ./ua_entrypoint / # Set entrypoint ENTRYPOINT [ "./ua_entrypoint" ] |
Expand |
---|
|
# Set the base image to Debian FROM debian:latest # create label LABEL name="universal-agent" LABEL vendor="Stonebranch" LABEL version="${ua_version}" LABEL release="GA" LABEL summary="Universal Agent installed in a Debian based Image" LABEL description="Universal Agent can be used for Scheduling and File Transfer" LABEL author="Colin Cocksedge <colin.cocksedge@stonebranch.com>" # # create license directory and add product license RUN mkdir /var/opt/universal/uag/logs/ && ln -s /dev/null /licenses ADD /licenses/Terms_and_Conditions.pdf /licenses # Install ua ARG ua_version ADD /install-files/sb-${ua_version}-linux-3-x86_64-deb.tar.Z /tmp RUN zcat /tmp/sb-${ua_version}-linux-3-x86_64-deb.tar.Z | tar xvf - && ./unvinst --network_provider oms --oms_servers 7878@localhost --python yes --oms_port 7878 --security inherit --ubroker_start no && rm unvinst *.deb *.tar upimerge.sh upimerge.log usrmode.inc install.log /tmp/sb-${ua_version}-linux-3-x86_64-deb.tar.Z EXPOSE 7887 7878 # # Set Permissions for Arbitrary ID Support RUN chgrp -R 0 /etc/universal && chmod -R g=u /etc/universal && chgrp -R 0 /opt/universal && chmod -R g=u /opt/universal && chgrp -R 0 /var/opt/universal /uag/logs/agent.log && #&& chmod -R g=u /var/opt/universal && chmod g=u /etc/passwd # Temp Change RUN /opt/universal/python/bin/pip3.7 install cryptography --upgrade # Update path ENV PATH "$PATH:/opt/universal/bin" # Set Default userid USER 10010 # Add entrypoint script COPY ./ua_entrypoint / # Entry PointSet entrypoint ENTRYPOINT [ "./ua_entrypoint" ] |
...