Skip to content

Commit

Permalink
add kubectl alias and bash banner
Browse files Browse the repository at this point in the history
  • Loading branch information
dergeberl committed Apr 27, 2022
1 parent 88d8391 commit 095bcad
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ MAINTAINER dergeberl

LABEL org.opencontainers.image.source https://github.com/dergeberl/multitool-container

COPY bash_aliases /root/.bash_aliases
COPY bash_banner /root/.bash_banner

RUN apt update && \
apt upgrade -y && \
apt install -y --no-install-recommends \
Expand All @@ -16,10 +19,10 @@ RUN apt update && \
nano \
htop \
iputils-ping && \
echo "cat ~/.bash_banner" >> /root/.bashrc && \
rm -rf /var/lib/apt/lists/* && \
apt-get clean

ENTRYPOINT ["sleep", "infinity"]


### nettools container image
Expand Down
1 change: 1 addition & 0 deletions bash_aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alias k=kubectl
5 changes: 5 additions & 0 deletions bash_banner
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
The Dockerfile for this container can be found on GitHub:
https://github.com/dergeberl/multitool-container


Feel free to rise an issue or PR if a tool is missing in this container.

0 comments on commit 095bcad

Please sign in to comment.