Skip to content

Commit

Permalink
feat: add kubectl & utils to ompp image
Browse files Browse the repository at this point in the history
  • Loading branch information
vexingly committed Aug 15, 2024
1 parent c6a1cb9 commit 71d19f7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ompp-run-ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,26 @@ RUN echo "ulimit -S -s 65536" >> etc/bash.bashrc && \
apt-get update && \
apt-get install -y \
apt-utils \
curl \
jq \
htop \
tree \
zip \
sqlite3 \
openmpi-bin \
unixodbc && \
apt-get upgrade -y && \
rm -rf /var/lib/apt/lists/*

ARG KUBECTL_VERSION=v1.28.2
ARG KUBECTL_URL=https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl
ARG KUBECTL_SHA=c922440b043e5de1afa3c1382f8c663a25f055978cbc6e8423493ec157579ec5

RUN curl -LO "${KUBECTL_URL}" \
&& echo "${KUBECTL_SHA} kubectl" | sha256sum -c - \
&& chmod +x ./kubectl \
&& sudo mv ./kubectl /usr/local/bin/kubectl

# set local openM++ timezone
RUN rm -f /etc/localtime && \
ln -s /usr/share/zoneinfo/America/Toronto /etc/localtime
Expand Down

0 comments on commit 71d19f7

Please sign in to comment.