Open davemyler opened 6 years ago
I'm trying to set this up under docker for windows on a win 10 machine and get an error:
Step 18/24 : COPY build/scripts/install-agent.sh /usr/bin ---> f58294c0e994 Step 19/24 : COPY build/scripts/install-node-agent.sh /usr/bin ---> c2919eba00f1 Step 20/24 : COPY build/scripts/install-wsagent.sh /usr/bin ---> 29e1230abd0b Step 21/24 : RUN apk update && apk add --no-cache ${DT_INSTALL_DEPS} ${DT_RUNTIME_DEPS} && mkdir -p ${DT_HOME} && /usr/bin/install-agent.sh ${AGENT_INSTALLER_URL} && /usr/bin/install-wsagent.sh ${WSAGENT_INSTALLER32_URL} && /usr/bin/install-wsagent.sh ${WSAGENT_INSTALLER64_URL} && /usr/bin/install-node-agent.sh ${NODE_AGENT_INSTALLER_URL} && apk del ${DT_INSTALL_DEPS} ---> Running in 1f3892f7c310 fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz v3.5.2-345-g2a95067e41 [http://dl-cdn.alpinelinux.org/alpine/v3.5/main] v3.5.2-337-g4634d1b283 [http://dl-cdn.alpinelinux.org/alpine/v3.5/community] OK: 7963 distinct packages available fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz (1/31) Installing ncurses-terminfo-base (6.0_p20171125-r0) (2/31) Installing ncurses-terminfo (6.0_p20171125-r0) ... (31/31) Installing openjdk8-jre-base (8.171.11-r0) Executing busybox-1.25.1-r2.trigger Executing ca-certificates-20161130-r1.trigger Executing java-common-0.1-r0.trigger OK: 81 MiB in 42 packages /bin/sh: /usr/bin/install-agent.sh: not found ERROR: Service 'dtagent' failed to build: The command '/bin/sh -c apk update && apk add --no-cache ${DT_INSTALL_DEPS} ${DT_RUNTIME_DEPS} && mkdir -p ${DT_HOME} && /usr/bin/install-agent.sh ${AGENT_INSTALLER_URL} && /usr/bin/install-wsagent.sh ${WSAGENT_INSTALLER32_URL} && /usr/bin/install-wsagent.sh ${WSAGENT_INSTALLER64_URL} && /usr/bin/install-node-agent.sh ${NODE_AGENT_INSTALLER_URL} && apk del ${DT_INSTALL_DEPS}' returned a non-zero code: 127
Given the script it reports as not found has been copied earlier, I'm assuming something later is removing this, but am struggling to find what.
I'm trying to set this up under docker for windows on a win 10 machine and get an error:
Given the script it reports as not found has been copied earlier, I'm assuming something later is removing this, but am struggling to find what.