# Setup rc.local to set up k8s credentials for CM
RUN scripts/get-type-files.sh ${TYPE_REPO} ${CCSDK_REPO}\
&& mkdir /opt/manager/resources/spec/cloudify/3.4\
- && curl -Ss https://cloudify.co/spec/cloudify/3.4/types.yaml > /opt/manager/resources/spec/cloudify/3.4/types.yaml\
+ && curl -Ss -L -f https://getcloudify.org/spec/cloudify/3.4/types.yaml > /opt/manager/resources/spec/cloudify/3.4/types.yaml\
&& chown -R cfyuser:cfyuser /opt/manager/resources/spec/cloudify/3.4\
&& chmod +x scripts/*.sh\
&& /scripts/configure-tls.sh\
RUN mkdir -p /opt/onap && chown cfyuser:cfyuser /opt/onap
# Install jq (used for cleanup--parsing output of CM API call)
-RUN curl -Ss -L "https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64" > /bin/jq \
+RUN curl -Ss -L -f "https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64" > /bin/jq \
&& chmod +x /bin/jq
CMD ["/scripts/start-persistent.sh"]
<groupId>org.onap.dcaegen2.deployments</groupId>
<artifactId>cm-container</artifactId>
<name>dcaegen2-deployments-cm-container</name>
- <version>2.0.1</version>
+ <version>2.0.2</version>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
for typefile in ${DCAETYPEFILES}
do
mkdir -p ${DEST}/$(dirname ${typefile})
- curl -Ss $1/${typefile} >> ${DEST}/${typefile}
+ curl -Ss -L -f $1/${typefile} >> ${DEST}/${typefile}
done
for typefile in ${CCSDKTYPEFILES}
do
mkdir -p ${DEST}/$(dirname ${typefile})
- curl -Ss $2/${typefile} >> ${DEST}/${typefile}
+ curl -Ss -L -f $2/${typefile} >> ${DEST}/${typefile}
done
chown cfyuser:cfyuser ${DEST}