I am trying to install one agent on ECS fargate cluster . Docker's base image is apline. I am using build time injection steps to install.
COPY --from=<your-activegate>/linux/oneagent-codemodules-musl:<technology> / / ENV LD_PRELOAD /opt/dynatrace/oneagent/agent/lib64/liboneagentproc.so
Activegate is installed in server with IP 10.99.6.16 , hence I am using <your-activegate> as 10.99.6.16:9999.
But I am getting error below error when I build docker image .
COPY --from=10.99.6.16:9999/linux/oneagent-codemodules-musl:all / /
invalid from flag value 10.99.6.16:9999/linux/oneagent-codemodules-musl:all: Get https://10.99.6.16:9999/v2/: x509: cannot validate certificate for 10.99.6.16 because it doesn't contain any IP SANs
and ECS logs shows below:
ERROR: ld.so: object '/opt/dynatrace/oneagent/agent/lib/liboneagentproc.so' from LD_PRELOAD cannot be preloaded: ignored.
I have created and openSSL certificate in the server in which AG is installed following steps here
Has anyone successfully installed DT one agent in ECS fargate ? Any help for this issue is appreciated. Thanks.