Skip to content

Commit

Permalink
[MOSIP-32064] (#125)
Browse files Browse the repository at this point in the history
* MOSIP-32064

Signed-off-by: JanardhanBS-SyncByte <[email protected]>

* MOSIP-32064

Signed-off-by: JanardhanBS-SyncByte <[email protected]>

* MOSIP-32064

Signed-off-by: JanardhanBS-SyncByte <[email protected]>

* MOSIP-32064

Signed-off-by: JanardhanBS-SyncByte <[email protected]>

---------

Signed-off-by: JanardhanBS-SyncByte <[email protected]>
Signed-off-by: Janardhan B S <[email protected]>
  • Loading branch information
JanardhanBS-SyncByte authored May 17, 2024
1 parent a890712 commit 9808094
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions biosdk-services/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ARG container_user_gid=1001

# install packages and create user
RUN apk -q update \
&& apk add -q unzip wget libc++-dev sudo\
&& apk add -q unzip wget libstdc++ libc++-dev libjpeg-turbo-dev libpng-dev libwebp-dev tiff-dev openblas-dev ffmpeg-dev gfortran sudo\
&& addgroup -g ${container_user_gid} ${container_user_group} \
&& adduser -s /bin/sh -u ${container_user_uid} -G ${container_user_group} -h /home/${container_user} --disabled-password ${container_user}

Expand Down Expand Up @@ -94,7 +94,10 @@ USER ${container_user_uid}:${container_user_gid}

EXPOSE 9099

# Set the environment variable for OpenCV native library path
ENV LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

ENTRYPOINT ["/home/mosip/configure_biosdk.sh"]

CMD echo $biosdk_bioapi_impl ; \
java -Dloader.path="${loader_path_env}" -Dserver.servlet.context-path="${service_context_env}" -Dspring.cloud.config.label="${spring_config_label_env}" -Dspring.profiles.active="${active_profile_env}" -Dspring.cloud.config.uri="${spring_config_url_env}" --add-modules=ALL-SYSTEM --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.lang.stream=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.time.LocalDate=ALL-UNNAMED --add-opens java.base/java.time.LocalDateTime=ALL-UNNAMED --add-opens java.base/java.time.LocalDateTime.date=ALL-UNNAMED --add-opens java.base/jdk.internal.reflect.DirectMethodHandleAccessor=ALL-UNNAMED -jar biosdk-services.jar
java -Dloader.path="${loader_path_env}" -Dserver.servlet.context-path="${service_context_env}" -Dspring.cloud.config.label="${spring_config_label_env}" -Dspring.profiles.active="${active_profile_env}" -Dspring.cloud.config.uri="${spring_config_url_env}" --add-modules=ALL-SYSTEM --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.lang.stream=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.time.LocalDate=ALL-UNNAMED --add-opens java.base/java.time.LocalDateTime=ALL-UNNAMED --add-opens java.base/java.time.LocalDateTime.date=ALL-UNNAMED --add-opens java.base/jdk.internal.reflect.DirectMethodHandleAccessor=ALL-UNNAMED -jar biosdk-services.jar

0 comments on commit 9808094

Please sign in to comment.