| # ****************************************************************************** |
| # Copyright (c) 2020 Contributors to the Eclipse Foundation |
| # |
| # See the NOTICE file(s) distributed with this work for additional |
| # information regarding copyright ownership. |
| # |
| # This program and the accompanying materials are made available under the |
| # terms of the Eclipse Public License v. 2.0 which is available at |
| # http://www.eclipse.org/legal/epl-2.0. |
| # |
| # SPDX-License-Identifier: EPL-2.0 |
| # ****************************************************************************** |
| |
| FROM camunda/camunda-bpm-platform:tomcat-7.8.0 |
| |
| |
| USER root |
| COPY docker/camundaenv/web.xml /camunda/webapps/engine-rest/WEB-INF/web.xml |
| RUN chown camunda:camunda /camunda/webapps/engine-rest/WEB-INF/web.xml |
| |
| RUN apk update && apk add --no-cache --update curl |
| |
| COPY docker/camundaenv/run.sh /camunda/run.sh |
| RUN chown camunda:camunda /camunda/run.sh |
| RUN chmod +x /camunda/run.sh |
| |
| COPY docker/camundaenv/setup.sh /camunda/setup.sh |
| RUN chown camunda:camunda /camunda/setup.sh |
| RUN chmod +x /camunda/setup.sh |
| |
| COPY deploy/camunda/Stellungnahme.bpmn /camunda/Stellungnahme.bpmn |
| RUN chown camunda:camunda /camunda/Stellungnahme.bpmn |
| |
| RUN rm -r webapps/camunda-invoice |
| |
| USER camunda |
| |
| WORKDIR /camunda |
| CMD ["./run.sh"] |
| |
| |