FROM openjdk:8u121-jre-alpine LABEL maintainer=Zhaoxing(mzhx.meng@gmail.com) WORKDIR /home/onap/workflow/wfengineactiviti RUN apk add --update curl && \ rm -rf /var/cache/apk/* && \ addgroup -g 1000 -S onap && \ adduser onap -D -G onap -u 1000 ADD apache-tomcat /home/onap/workflow/wfengineactiviti/ RUN chmod 755 /home/onap/workflow/wfengineactiviti/bin/*.sh && chown onap:onap -R /home/onap USER onap EXPOSE 8080 ENTRYPOINT ["./bin/entrypoint.sh"] CMD ["start"]