Skip to content

Commit

Permalink
Add a small bashrc to flyte sandbox (#811)
Browse files Browse the repository at this point in the history
Signed-off-by: wild-endeavor <[email protected]>
  • Loading branch information
wild-endeavor authored Mar 10, 2021
1 parent 94249ef commit d7a18d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/sandbox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
7 changes: 7 additions & 0 deletions docker/sandbox/bashrc
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit d7a18d1

Please sign in to comment.