Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sapirgila committed May 29, 2024
1 parent 0140181 commit efd8489
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions smart-cache-enterprise/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ RUN wget --progress=bar:force -O /tmp/gigaspaces.zip ${GS_URL} &&\
rm -f /tmp/gigaspaces.zip &&\
wget ${KUBERNETES_CLINET_URL} -O ${GS_HOME}/tools/kubernetes/lib/k8s-java-client.jar &&\
echo "#!/bin/bash" > /bin/kill && echo "kill \$@" >> /bin/kill && chmod +x /bin/kill

COPY --chmod=775 entrypoint.sh /opt/entrypoint.sh
RUN groupadd --gid 2000 --system gs_group &&\
adduser --shell /bin/nologin --uid 2001 --gid 2000 gs_user &&\
chown -R gs_user:0 ${GS_HOME} &&\
chmod -R 0775 /opt/gigaspaces
chmod -R 775 /opt/gigaspaces

COPY --chmod=075 entrypoint.sh /opt/entrypoint.sh

# Configure and expose ports
ENV LD_LIBRARY_PATH "/lib:/lib64"
Expand Down

0 comments on commit efd8489

Please sign in to comment.