From d7a18d1037aacc6e1a6299ba643dffc95aefb57f Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Tue, 9 Mar 2021 17:37:13 -0800 Subject: [PATCH] Add a small bashrc to flyte sandbox (#811) Signed-off-by: wild-endeavor --- docker/sandbox/Dockerfile | 1 + docker/sandbox/bashrc | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 docker/sandbox/bashrc diff --git a/docker/sandbox/Dockerfile b/docker/sandbox/Dockerfile index f8d21909ad..0f70df8eaf 100644 --- a/docker/sandbox/Dockerfile +++ b/docker/sandbox/Dockerfile @@ -39,6 +39,7 @@ RUN apk add --no-cache bash git make tini # Copy entrypoints COPY docker/sandbox/flyte-entrypoint-default.sh /flyteorg/bin/flyte-entrypoint.sh +COPY docker/sandbox/bashrc /root/.bashrc # Update PATH variable ENV PATH "/flyteorg/bin:${PATH}" diff --git a/docker/sandbox/bashrc b/docker/sandbox/bashrc new file mode 100644 index 0000000000..550a1d4e9e --- /dev/null +++ b/docker/sandbox/bashrc @@ -0,0 +1,7 @@ +# Friendlier prompt +export PS1="\e[0;35m\u@flyte-sandbox \w> \e[m" + +# Useful aliases +alias k="kubectl" +alias kf="kubectl -n flyte" +alias l="ls -lthra"