Skip to content

Commit 4f8569b

Browse files
committed
Docker configure_start.sh correction [MOSIP-44752]
Signed-off-by: GOKULRAJ136 <110164849+GOKULRAJ136@users.noreply.github.com>
1 parent e4751f5 commit 4f8569b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

kernel/kernel-auditmanager-service/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,15 @@ COPY ./target/kernel-auditmanager-service-*.jar /home/${container_user}/kernel-a
7373
# set working directory for the user
7474
WORKDIR /home/${container_user}
7575

76+
ADD configure_start.sh configure_start.sh
77+
7678
# select container user for all tasks
7779
USER ${container_user_uid}:${container_user_gid}
7880

7981
# can expose required port
8082
EXPOSE 8081
8183

84+
ENTRYPOINT [ "./configure_start.sh" ]
85+
8286
# the command to run when the container starts
8387
CMD java -Dloader.path="${loader_path_env}" -Dspring.cloud.config.label="${spring_config_label_env}" -Dspring.profiles.active="${active_profile_env}" -Dspring.cloud.config.uri="${spring_config_url_env}" -jar kernel-auditmanager-service.jar ; \

0 commit comments

Comments
 (0)