-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add use proxy Signed-off-by: Ce Gao <cegao@tensorchord.ai> Signed-off-by: Ce Gao <cegao@tensorchord.ai>
- Loading branch information
Showing
6 changed files
with
67 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
ARG IMAGE_NAME | ||
ARG ENVD_VERSION | ||
ARG ENVD_SSH_IMAGE | ||
FROM ${IMAGE_NAME}:11.6.1-cudnn8-devel-ubuntu20.04 as base | ||
|
||
FROM ${ENVD_SSH_IMAGE}:${ENVD_VERSION} AS envd | ||
|
||
FROM base as base-amd64 | ||
|
||
FROM base as base-arm64 | ||
|
||
FROM base-${TARGETARCH} | ||
|
||
ARG TARGETARCH | ||
|
||
LABEL maintainer "envd-maintainers <envd-maintainers@tensorchord.ai>" | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV LANG C.UTF-8 | ||
ENV LC_ALL C.UTF-8 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y apt-utils && \ | ||
apt-get install -y --no-install-recommends --no-install-suggests --fix-missing \ | ||
bash-static libtinfo5 libncursesw5 \ | ||
# conda dependencies | ||
bzip2 ca-certificates libglib2.0-0 libsm6 libxext6 libxrender1 mercurial \ | ||
procps subversion wget \ | ||
# envd dependencies | ||
curl openssh-client git tini sudo zsh vim \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
# prompt | ||
&& curl --proto '=https' --tlsv1.2 -sSf https://starship.rs/install.sh | sh -s -- -y | ||
|
||
COPY --from=envd /usr/bin/envd-ssh /var/envd/bin/envd-ssh |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters