We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm on macOS Monterey 12.3.1 (Intel)
Following as described in https://github.com/telefonicaid/fiware-cygnus/blob/master/doc/cygnus-ngsi-ld/installation_and_administration_guide/install_with_docker.md#section2.1
$ git clone https://github.com/telefonicaid/fiware-cygnus.git $ cd fiware-cygnus $ sudo docker build -f docker/cygnus-ngsi-ld/Dockerfile -t cygnus-ngsi-ld .
results in:
... #9 92.61 INFO: Apache domain https://dlcdn.apache.org/ #9 92.61 INFO: URL MAVEN https://dlcdn.apache.org/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz #9 92.61 INFO: URL FLUME https://dlcdn.apache.org/flume/1.9.0/apache-flume-1.9.0-bin.tar.gz #9 92.61 INFO: Download and install Maven and Flume... #9 94.67 #9 94.67 gzip: stdin: not in gzip format #9 94.67 tar: Child returned status 1 #9 94.67 tar: Error is not recoverable: exiting now
------ executor failed running [/bin/sh -c sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-* && sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-* && yum upgrade -y && adduser ${CYGNUS_USER} && yum -y install nc java-${JAVA_VERSION}-openjdk-devel git python2 && export JAVA_HOME=/usr/lib/jvm/java-${JAVA_VERSION}-openjdk && export MAVEN_OPTS="-Xmx2048M -Xss128M -XX:MetaspaceSize=512M -XX:MaxMetaspaceSize=2048M -Dfile.encoding=UTF-8 -Dproject.build.sourceEncoding=UTF-8 -Dmaven.compiler.useIncrementalCompilation=false -DdependencyLocationsEnabled=false -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSClassUnloadingEnabled" && export MAVEN_ARGS="-B -T8" && echo "INFO: Getting apache preferred site and obtain URLs for Maven and Flume..." && APACHE_DOMAIN="$(curl -s 'https://www.apache.org/dyn/closer.cgi?as_json=1' | python2 -c 'import json,sys;obj=json.load(sys.stdin);print obj["preferred"]')" || APACHE_DOMAIN="http://archive.apache.org/dist/" && MVN_URL="${APACHE_DOMAIN}maven/maven-3/${MVN_VER}/binaries/apache-maven-${MVN_VER}-bin.tar.gz" && FLUME_URL="${APACHE_DOMAIN}flume/${FLUME_VER}/apache-flume-${FLUME_VER}-bin.tar.gz" && echo -e $'INFO: Java version <'${JAVA_VERSION}'>\n'$(java -version)'\nINFO: Apache domain <'${APACHE_DOMAIN}'>\nINFO: URL MAVEN <'${MVN_URL}'>\nINFO: URL FLUME <'${FLUME_URL}'>' && echo "INFO: Download and install Maven and Flume..." && curl --remote-name --location --insecure --silent --show-error "${MVN_URL}" && tar xzf apache-maven-${MVN_VER}-bin.tar.gz && mv apache-maven-${MVN_VER} ${MVN_HOME} && curl --remote-name --location --insecure --silent --show-error "${FLUME_URL}" && tar zxf apache-flume-${FLUME_VER}-bin.tar.gz && mv apache-flume-${FLUME_VER}-bin ${FLUME_HOME} && mkdir -p ${FLUME_HOME}/plugins.d/cygnus && mkdir -p ${FLUME_HOME}/plugins.d/cygnus/lib && mkdir -p ${FLUME_HOME}/plugins.d/cygnus/libext && chown -R cygnus:cygnus ${FLUME_HOME} && cd ${CYGNUS_HOME} && echo "INFO: Build and install cygnus-common" && cd ${CYGNUS_HOME}/cygnus-common && ${MVN_HOME}/bin/mvn ${MAVEN_ARGS} clean compile exec:exec assembly:single && cp target/cygnus-common-${CYGNUS_VERSION}-jar-with-dependencies.jar ${FLUME_HOME}/plugins.d/cygnus/libext/ && ${MVN_HOME}/bin/mvn install:install-file -Dfile=${FLUME_HOME}/plugins.d/cygnus/libext/cygnus-common-${CYGNUS_VERSION}-jar-with-dependencies.jar -DgroupId=com.telefonica.iot -DartifactId=cygnus-common -Dversion=${CYGNUS_VERSION} -Dpackaging=jar -DgeneratePom=false && echo "INFO: Build and install cygnus-ngsi-ld" && cd ${CYGNUS_HOME}/cygnus-ngsi-ld && ${MVN_HOME}/bin/mvn ${MAVEN_ARGS} clean compile exec:exec assembly:single && cp target/cygnus-ngsi-ld-${CYGNUS_VERSION}-jar-with-dependencies.jar ${FLUME_HOME}/plugins.d/cygnus/lib/ && echo "INFO: Install Cygnus Application script" && cp ${CYGNUS_HOME}/cygnus-common/target/classes/cygnus-flume-ng ${FLUME_HOME}/bin/ && chmod +x ${FLUME_HOME}/bin/cygnus-flume-ng && echo "INFO: Instantiate some configuration files" && cp ${CYGNUS_HOME}/cygnus-common/conf/log4j.properties.template ${FLUME_HOME}/conf/log4j.properties && echo "INFO: Create Cygnus log folder" && mkdir -p /var/log/cygnus && chmod 777 /var/log/cygnus && echo "INFO: Cleanup to thin the final image... doing optimizations..." && cd ${CYGNUS_HOME}/cygnus-common && ${MVN_HOME}/bin/mvn ${MAVEN_ARGS} clean && cd ${CYGNUS_HOME}/cygnus-ngsi-ld && ${MVN_HOME}/bin/mvn ${MAVEN_ARGS} clean && rm -rf /root/.m2 && rm -rf ${MVN_HOME} && rm -rf ${FLUME_HOME}/docs && rm -rf ${CYGNUS_HOME}/doc && rm -f /*.tar.gz && echo "INFO: Java runtime not needs JAVA_HOME... Unsetting..." && unset JAVA_HOME && yum erase -y git java-${JAVA_VERSION}-openjdk-devel python2 && rpm -qa redhat-logos gtk2 pulseaudio-libs libvorbis jpackage* groff alsa* atk cairo libX* | xargs -r rpm -e --nodeps && yum clean all && rm -rf /var/lib/yum/yumdb && rm -rf /var/lib/yum/history && find /usr/share/locale -mindepth 1 -maxdepth 1 ! -name 'en_US' ! -name 'locale.alias' | xargs -r rm -r && rm -f /var/log/*log && bash -c 'localedef --list-archive | grep -v -e "en_US" | xargs localedef --delete-from-archive' && /bin/cp -f /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl && build-locale-archive && find ${CYGNUS_HOME} -name '.[^.]*' 2>/dev/null | xargs -r rm -rf && echo "INFO: END build"]: exit code: 2
The text was updated successfully, but these errors were encountered:
Maybe @anmunoz could provide feedback on this. He was the original developer of the cygnus-ngsi-ld part in this repository
Sorry, something went wrong.
No branches or pull requests
I'm on macOS Monterey 12.3.1 (Intel)
Following as described in https://github.com/telefonicaid/fiware-cygnus/blob/master/doc/cygnus-ngsi-ld/installation_and_administration_guide/install_with_docker.md#section2.1
$ git clone https://github.com/telefonicaid/fiware-cygnus.git
$ cd fiware-cygnus
$ sudo docker build -f docker/cygnus-ngsi-ld/Dockerfile -t cygnus-ngsi-ld .
results in:
...
#9 92.61 INFO: Apache domain https://dlcdn.apache.org/
#9 92.61 INFO: URL MAVEN https://dlcdn.apache.org/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
#9 92.61 INFO: URL FLUME https://dlcdn.apache.org/flume/1.9.0/apache-flume-1.9.0-bin.tar.gz
#9 92.61 INFO: Download and install Maven and Flume...
#9 94.67
#9 94.67 gzip: stdin: not in gzip format
#9 94.67 tar: Child returned status 1
#9 94.67 tar: Error is not recoverable: exiting now
------ executor failed running [/bin/sh -c sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-* && sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-* && yum upgrade -y && adduser ${CYGNUS_USER} && yum -y install nc java-${JAVA_VERSION}-openjdk-devel git python2 && export JAVA_HOME=/usr/lib/jvm/java-${JAVA_VERSION}-openjdk && export MAVEN_OPTS="-Xmx2048M -Xss128M -XX:MetaspaceSize=512M -XX:MaxMetaspaceSize=2048M -Dfile.encoding=UTF-8 -Dproject.build.sourceEncoding=UTF-8 -Dmaven.compiler.useIncrementalCompilation=false -DdependencyLocationsEnabled=false -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSClassUnloadingEnabled" && export MAVEN_ARGS="-B -T8" && echo "INFO: Getting apache preferred site and obtain URLs for Maven and Flume..." && APACHE_DOMAIN="$(curl -s 'https://www.apache.org/dyn/closer.cgi?as_json=1' | python2 -c 'import json,sys;obj=json.load(sys.stdin);print obj["preferred"]')" || APACHE_DOMAIN="http://archive.apache.org/dist/" && MVN_URL="${APACHE_DOMAIN}maven/maven-3/${MVN_VER}/binaries/apache-maven-${MVN_VER}-bin.tar.gz" && FLUME_URL="${APACHE_DOMAIN}flume/${FLUME_VER}/apache-flume-${FLUME_VER}-bin.tar.gz" && echo -e $'INFO: Java version <'${JAVA_VERSION}'>\n'$(java -version)'\nINFO: Apache domain <'${APACHE_DOMAIN}'>\nINFO: URL MAVEN <'${MVN_URL}'>\nINFO: URL FLUME <'${FLUME_URL}'>' && echo "INFO: Download and install Maven and Flume..." && curl --remote-name --location --insecure --silent --show-error "${MVN_URL}" && tar xzf apache-maven-${MVN_VER}-bin.tar.gz && mv apache-maven-${MVN_VER} ${MVN_HOME} && curl --remote-name --location --insecure --silent --show-error "${FLUME_URL}" && tar zxf apache-flume-${FLUME_VER}-bin.tar.gz && mv apache-flume-${FLUME_VER}-bin ${FLUME_HOME} && mkdir -p ${FLUME_HOME}/plugins.d/cygnus && mkdir -p ${FLUME_HOME}/plugins.d/cygnus/lib && mkdir -p ${FLUME_HOME}/plugins.d/cygnus/libext && chown -R cygnus:cygnus ${FLUME_HOME} && cd ${CYGNUS_HOME} && echo "INFO: Build and install cygnus-common" && cd ${CYGNUS_HOME}/cygnus-common && ${MVN_HOME}/bin/mvn ${MAVEN_ARGS} clean compile exec:exec assembly:single && cp target/cygnus-common-${CYGNUS_VERSION}-jar-with-dependencies.jar ${FLUME_HOME}/plugins.d/cygnus/libext/ && ${MVN_HOME}/bin/mvn install:install-file -Dfile=${FLUME_HOME}/plugins.d/cygnus/libext/cygnus-common-${CYGNUS_VERSION}-jar-with-dependencies.jar -DgroupId=com.telefonica.iot -DartifactId=cygnus-common -Dversion=${CYGNUS_VERSION} -Dpackaging=jar -DgeneratePom=false && echo "INFO: Build and install cygnus-ngsi-ld" && cd ${CYGNUS_HOME}/cygnus-ngsi-ld && ${MVN_HOME}/bin/mvn ${MAVEN_ARGS} clean compile exec:exec assembly:single && cp target/cygnus-ngsi-ld-${CYGNUS_VERSION}-jar-with-dependencies.jar ${FLUME_HOME}/plugins.d/cygnus/lib/ && echo "INFO: Install Cygnus Application script" && cp ${CYGNUS_HOME}/cygnus-common/target/classes/cygnus-flume-ng ${FLUME_HOME}/bin/ && chmod +x ${FLUME_HOME}/bin/cygnus-flume-ng && echo "INFO: Instantiate some configuration files" && cp ${CYGNUS_HOME}/cygnus-common/conf/log4j.properties.template ${FLUME_HOME}/conf/log4j.properties && echo "INFO: Create Cygnus log folder" && mkdir -p /var/log/cygnus && chmod 777 /var/log/cygnus && echo "INFO: Cleanup to thin the final image... doing optimizations..." && cd ${CYGNUS_HOME}/cygnus-common && ${MVN_HOME}/bin/mvn ${MAVEN_ARGS} clean && cd ${CYGNUS_HOME}/cygnus-ngsi-ld && ${MVN_HOME}/bin/mvn ${MAVEN_ARGS} clean && rm -rf /root/.m2 && rm -rf ${MVN_HOME} && rm -rf ${FLUME_HOME}/docs && rm -rf ${CYGNUS_HOME}/doc && rm -f /*.tar.gz && echo "INFO: Java runtime not needs JAVA_HOME... Unsetting..." && unset JAVA_HOME && yum erase -y git java-${JAVA_VERSION}-openjdk-devel python2 && rpm -qa redhat-logos gtk2 pulseaudio-libs libvorbis jpackage* groff alsa* atk cairo libX* | xargs -r rpm -e --nodeps && yum clean all && rm -rf /var/lib/yum/yumdb && rm -rf /var/lib/yum/history && find /usr/share/locale -mindepth 1 -maxdepth 1 ! -name 'en_US' ! -name 'locale.alias' | xargs -r rm -r && rm -f /var/log/*log && bash -c 'localedef --list-archive | grep -v -e "en_US" | xargs localedef --delete-from-archive' && /bin/cp -f /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl && build-locale-archive && find ${CYGNUS_HOME} -name '.[^.]*' 2>/dev/null | xargs -r rm -rf && echo "INFO: END build"]: exit code: 2
The text was updated successfully, but these errors were encountered: