"helm" upgraded to community repository; added intro/exit message for clarity
This commit is contained in:
parent
45a568fddb
commit
b95a92f9fc
@ -29,8 +29,9 @@ RUN : \
|
|||||||
vim \
|
vim \
|
||||||
wget \
|
wget \
|
||||||
zsh \
|
zsh \
|
||||||
&& apk add --update --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
|
&& apk add --update --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community/ \
|
||||||
helm \
|
helm \
|
||||||
|
&& apk add --update --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
|
||||||
kubectl \
|
kubectl \
|
||||||
&& mkdir -p /root/.wryn \
|
&& mkdir -p /root/.wryn \
|
||||||
;
|
;
|
||||||
@ -41,10 +42,10 @@ RUN : \
|
|||||||
&& /bin/zsh -c '/root/.wryn/setup/run --no-fluff --ci --force-root' \
|
&& /bin/zsh -c '/root/.wryn/setup/run --no-fluff --ci --force-root' \
|
||||||
&& echo 'hostnamectl() { echo docker; }' > $HOME/.config/wryn/env.zsh \
|
&& echo 'hostnamectl() { echo docker; }' > $HOME/.config/wryn/env.zsh \
|
||||||
&& echo 'source /root/.wryn/config/dotwryn.env.zsh' >> $HOME/.config/wryn/env.zsh \
|
&& echo 'source /root/.wryn/config/dotwryn.env.zsh' >> $HOME/.config/wryn/env.zsh \
|
||||||
&& echo 'WELCOME() {}' >> $HOME/.config/wryn/env.zsh \
|
&& echo "WELCOME() {}" >> $HOME/.config/wryn/env.zsh \
|
||||||
&& echo "PS1_INDICATOR_SYMBOL=''" >> $HOME/.config/wryn/env.zsh \
|
&& echo "PS1_INDICATOR_SYMBOL=''" >> $HOME/.config/wryn/env.zsh \
|
||||||
&& echo "PS1_USER='root@debugger'" >> $HOME/.config/wryn/env.zsh \
|
&& echo "PS1_USER='root@debugger'" >> $HOME/.config/wryn/env.zsh \
|
||||||
&& rm /root/dotwryn-install.log \
|
&& rm /root/dotwryn-install.log \
|
||||||
;
|
;
|
||||||
|
|
||||||
CMD ["zsh"]
|
ENTRYPOINT ["/root/.wryn/.docker/entrypoint"]
|
||||||
|
19
.docker/entrypoint
Executable file
19
.docker/entrypoint
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
#####################################################################
|
||||||
|
echo -e "\\033[1;31m=====================================================================\\033[0m
|
||||||
|
|
||||||
|
\\033[1;32mWelcome to Debugger!\\033[0m
|
||||||
|
|
||||||
|
You are now entering a root-privileged container with a variety of
|
||||||
|
powerful tools. Be sure to exercise appropriate caution for your
|
||||||
|
current use-case / environment!
|
||||||
|
|
||||||
|
\\033[1;32mGLHF <3\\033[0m
|
||||||
|
|
||||||
|
\\033[1;31m=====================================================================\\033[0m"
|
||||||
|
#####################################################################
|
||||||
|
zsh -l
|
||||||
|
#####################################################################
|
||||||
|
echo -e "\\033[1;31m=====================================================================\\033[0m
|
||||||
|
\\033[1;32mExiting Debugger; see you next time!\\033[0m
|
||||||
|
\\033[1;31m=====================================================================\\033[0m"
|
Loading…
Reference in New Issue
Block a user