-
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 base image for R language (#457)
* feat: Add base image for R language Signed-off-by: terrytangyuan <terrytangyuan@gmail.com> * Remove conda deps Signed-off-by: terrytangyuan <terrytangyuan@gmail.com>
- Loading branch information
1 parent
3c0afb3
commit 657c2cb
Showing
3 changed files
with
39 additions
and
1 deletion.
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,28 @@ | ||
ARG ENVD_VERSION | ||
ARG ENVD_SSH_IMAGE | ||
FROM r-base:4.2.0 as base | ||
|
||
FROM base as base-amd64 | ||
|
||
FROM base as base-arm64 | ||
|
||
FROM ${ENVD_SSH_IMAGE}:${ENVD_VERSION} AS envd | ||
|
||
FROM base-${TARGETARCH} | ||
|
||
ARG TARGETARCH | ||
|
||
LABEL maintainer "envd-maintainers <envd-maintainers@tensorchord.ai>" | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV PATH="/usr/bin:${PATH}" | ||
|
||
RUN apt-get update && \ | ||
apt-get install apt-utils && \ | ||
apt-get install -y --no-install-recommends --no-install-suggests --fix-missing \ | ||
bash-static libtinfo5 libncursesw5 \ | ||
# envd dependencies | ||
python3 curl openssh-client git tini sudo zsh vim \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
COPY --from=envd /usr/bin/envd-ssh /var/envd/bin/envd-ssh |
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