Skip to content

Commit

Permalink
Merge pull request #18 from Gigaspaces/smart-cache-update-docker
Browse files Browse the repository at this point in the history
update Dockerfile for smart-cache-enterprise
  • Loading branch information
sapirgila authored May 29, 2024
2 parents e1feea4 + efd8489 commit 6cae761
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions smart-cache-enterprise/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +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}
ADD entrypoint.sh /opt/entrypoint.sh
chown -R gs_user:0 ${GS_HOME} &&\
chmod -R 775 /opt/gigaspaces


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

0 comments on commit 6cae761

Please sign in to comment.