Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sjkarthik authored Sep 7, 2023
1 parent 99df8f3 commit 9c65738
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions mock-identity-system/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,24 +80,24 @@ RUN mkdir -p ${loader_path}

ENV loader_path_env=${loader_path}

ADD configure_start.sh configure_start.sh
#ADD configure_start.sh configure_start.sh

RUN chmod +x configure_start.sh
#RUN chmod +x configure_start.sh

ADD target/mock-identity-system-*.jar mock-identity-system.jar
#ADD target/mock-identity-system-*.jar mock-identity-system.jar

# change permissions of file inside working dir
RUN chown -R ${container_user}:${container_user} /home/${container_user}
#RUN chown -R ${container_user}:${container_user} /home/${container_user}

# select container user for all tasks
USER ${container_user_uid}:${container_user_gid}
#USER ${container_user_uid}:${container_user_gid}

EXPOSE 8081
EXPOSE 9010
#EXPOSE 8081
#EXPOSE 9010

ENTRYPOINT [ "./configure_start.sh" ]
#ENTRYPOINT [ "./configure_start.sh" ]

CMD if [ "$is_glowroot_env" = "present" ]; then \
#CMD if [ "$is_glowroot_env" = "present" ]; then \
wget -q --show-progress "${artifactory_url_env}"/artifactory/libs-release-local/io/mosip/testing/glowroot.zip ; \
unzip glowroot.zip ; \
rm -rf glowroot.zip ; \
Expand Down

0 comments on commit 9c65738

Please sign in to comment.