# ============LICENSE_END============================================
# Base ubuntu with added packages needed for ONAP
-FROM onap/ccsdk-odlsli-alpine-image:0.4.1
+FROM onap/ccsdk-odlsli-alpine-image:0.5.4
MAINTAINER APP-C Team (appc@lists.openecomp.org)
+# run as root to install ps to comply with karaf scripts
+USER root
+RUN apk add --no-cache procps
+
# Set the Env. Variable in the container to add the APPC CONFIG DIR (the SDNC_CONFIG_DIR is inherited from SDNC Image)
ENV APPC_CONFIG_DIR /opt/onap/appc/data/properties
# to merge both of these with the opendaylight folders of the same names.
COPY --chown=odl:odl repoDir /opt/opendaylight
RUN chown -R odl:odl /opt
+
USER odl
RUN ln -s /opt/onap/appc /opt/appc
RUN mkdir /opt/onap/appc/cvaas
#Start opendaylight and pre-install the appc features
-RUN opt/onap/appc/bin/dockerInstall.sh
+#RUN opt/onap/appc/bin/dockerInstall.sh
# Expose port 8181 for ODL REST calls
EXPOSE 8181