File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
docker-files/siddhi-runner/alpine/siddhi-runner Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ ARG SIDDHI_RUNNER_BASE_IMAGE=siddhiio/siddhi-runner-base-alpine:latest
2121FROM ${SIDDHI_RUNNER_BASE_IMAGE}
2222MAINTAINER Siddhi IO Docker Maintainers "siddhi-dev@googlegroups.com"
2323
24- ARG USER_ID=802
24+ ARG USER=siddhi_user
25+ ARG USER_GROUP=siddhi_io
26+ ARG USER_GROUP_ID=802
2527ARG HOST_BUNDLES_DIR=./files/bundles
2628ARG HOST_JARS_DIR=./files/jars
2729ARG JARS=${RUNTIME_SERVER_HOME}/jars
@@ -37,7 +39,8 @@ COPY --chown=siddhi_user:siddhi_io ${HOST_JARS_DIR}/ ${JARS}
3739# expose ports
3840EXPOSE 9090 9443 9712 9612 7711 7611 7070 7443
3941
40- RUN apk add --no-cache bash && bash ${RUNTIME_SERVER_HOME}/bin/install-jars.sh && apk del bash
42+ RUN apk add --no-cache bash && bash ${RUNTIME_SERVER_HOME}/bin/install-jars.sh \
43+ && apk del bash && chown ${USER}:${USER_GROUP} -R ${RUNTIME_SERVER_HOME}/lib
4144
4245USER ${USER_ID}
4346
You can’t perform that action at this time.
0 commit comments