summaryrefslogtreecommitdiffstats
path: root/activiti-extension/src/main/docker/Dockerfile
blob: 29942ab7e2a1c1b269b439e0a4b9af39a4f704c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"]