X-Git-Url: https://gerrit.onap.org/r/gitweb?p=ccsdk%2Fdistribution.git;a=blobdiff_plain;f=opendaylight%2Fchlorine%2Fchlorine-alpine%2Fsrc%2Fmain%2Fdocker%2FDockerfile;fp=opendaylight%2Fphosphorus%2Fphosphorus-alpine%2Fsrc%2Fmain%2Fdocker%2FDockerfile;h=15b17d804008c8a1b9c1d7066580185c1496f7b7;hp=19cd55f6903fb4d6630ea435029c54187ea5b619;hb=d3ef2d11a5521a4dcb765f5d4a112f10d7bf3051;hpb=e5043d4e249a672540f773d8758e78e7ae404984 diff --git a/opendaylight/phosphorus/phosphorus-alpine/src/main/docker/Dockerfile b/opendaylight/chlorine/chlorine-alpine/src/main/docker/Dockerfile similarity index 76% rename from opendaylight/phosphorus/phosphorus-alpine/src/main/docker/Dockerfile rename to opendaylight/chlorine/chlorine-alpine/src/main/docker/Dockerfile index 19cd55f6..15b17d80 100644 --- a/opendaylight/phosphorus/phosphorus-alpine/src/main/docker/Dockerfile +++ b/opendaylight/chlorine/chlorine-alpine/src/main/docker/Dockerfile @@ -28,13 +28,6 @@ COPY system $ODL_HOME/system #RUN chmod 755 $ODL_HOME/bin/configure_cluster.sh $ODL_HOME/bin/configure-cluster-ipdetect.sh $ODL_HOME/bin/set_persistence.sh $ODL_HOME/bin/custom_shard_config.txt -# Remove vulnerable version of ops4j logging -COPY framework-${odl.karaf.framework.version}-features.xml $ODL_HOME/system/org/apache/karaf/features/framework/${odl.karaf.framework.version}/framework-${odl.karaf.framework.version}-features.xml -COPY startup.properties $ODL_HOME/etc/startup.properties -RUN rm -rf $ODL_HOME/system/org/ops4j/pax/logging/pax-logging-log4j2/${odl.pax.logging.version} -RUN rm -rf $ODL_HOME/system/org/ops4j/pax/logging/pax-logging-logback/${odl.pax.logging.version} -RUN rm -rf $ODL_HOME/system/org/ops4j/pax/logging/pax-logging-api/${odl.pax.logging.version} - # Changing ownership and permission of /opt RUN chown -R odl:odl /opt && chmod -R 755 /opt