DataConservancy / dcs-images

Containing files/code to create distribution image(s) for package ingest service and other services
1 stars 1 forks source link

Version 4.0.4 of Apache Karaf no longer available #1

Closed tdilauro closed 8 years ago

tdilauro commented 8 years ago

Karaf v4 has been upgraded from version 4.0.4 to version 4.0.5. Version is set to 4.0.4 in the docker build file.

Step 9 : RUN export KARAF_VERSION=4.0.4 &&     mkdir -p ${APPS} &&     curl -L http://apache.mirrors.lucidnetworks.net/karaf/${KARAF_VERSION}/apache-karaf-${KARAF_VERSION}.tar.gz | tar xzf - -C ${APPS} &&     ln -s ${APPS}/apache-karaf-${KARAF_VERSION} ${KARAF_HOME} &&     cat ${KARAF_HOME}/etc/org.ops4j.pax.url.mvn.cfg         | sed 's/org.ops4j.pax.url.mvn.repositories=/org.ops4j.pax.url.mvn.repositories = http:\/\/maven.dataconservancy.org\/public\/releases@id=dc.public.releases,http:\/\/maven.dataconservancy.org\/public\/snapshots@id=dc.public.snapshots@snapshots@noreleases,/'         > /tmp/org.ops4j.pax.url.mvn.cfg &&     mv /tmp/org.ops4j.pax.url.mvn.cfg ${KARAF_HOME}/etc/org.ops4j.pax.url.mvn.cfg &&     cat ${KARAF_HOME}/etc/org.ops4j.pax.logging.cfg | sed s/karaf.data/karaf.shared/ > /tmp/org.ops4j.pax.logging.cfg &&     mv /tmp/org.ops4j.pax.logging.cfg ${KARAF_HOME}/etc/org.ops4j.pax.logging.cfg &&     cat ${KARAF_HOME}/etc/org.apache.felix.fileinstall-deploy.cfg         | sed 's/${karaf.base}\/deploy/\/shared\/karaf\/deploy/'         > ${KARAF_HOME}/etc/org.apache.felix.fileinstall-shared.cfg &&     ${KARAF_HOME}/bin/start &&     echo "feature:install webconsole "         | ${KARAF_HOME}/bin/client -u karaf -b -r 10 &&      ${KARAF_HOME}/bin/stop &&     chmod a+rw -R ${KARAF_HOME}/data ${KARAF_HOME}/etc ${KARAF_HOME}/instances ${KARAF_HOME}/lock &&     rm -rf ${KARAF_SHARED}
 ---> Running in 92e256f9380f
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0tar: invalid magic
tar: short read
100   333  100   333    0     0   2814      0 --:--:-- --:--:-- --:--:--  2946
emetsger commented 8 years ago

Created https://scm.dataconservancy.org/issues/browse/DC-2353

emetsger commented 8 years ago

Executing docker pull dataconservancy/dcs-all should retrieve an image with Karaf 4.0.4!