Skip to content

Commit

Permalink
install kubectl to get svc ip
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglei1949 committed Jun 11, 2024
1 parent c2ac21e commit e76a019
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flex/interactive/docker/interactive-runtime.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get -y install sudo locales g++ cmake openjdk-11-jre-headless vim iputils-ping curl && \
locale-gen en_US.UTF-8 && apt-get clean -y && rm -rf /var/lib/apt/lists/*

RUN cd /tmp && export KUBE_VER=v1.19.2 && \
curl -LO https://storage.googleapis.com/kubernetes-release/release/${KUBE_VER}/bin/linux/amd64/kubectl && \
chmod +x ./kubectl && \
cd /tmp && \
mv ./kubectl /usr/local/bin/kubectl

# python3
RUN if [ "${ENABLE_COORDINATOR}" = "true" ]; then \
apt-get update && apt-get -y install python3 python3-pip && \
Expand Down

0 comments on commit e76a019

Please sign in to comment.