From 067ce6bb7f2cb24d610cdda9c37fe30ac4ac9642 Mon Sep 17 00:00:00 2001 From: Markus Keil Date: Fri, 2 Aug 2024 11:02:13 +0200 Subject: [PATCH] make sure infisical and teleport are primed --- .zshrc | 3 +++ Dockerfile | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.zshrc b/.zshrc index 22b59ba..10c73a1 100644 --- a/.zshrc +++ b/.zshrc @@ -199,4 +199,7 @@ function create_tag(){ alias gt-bump="create_tag" +echo "Preparing Teleport SSH..." +tsh config > /root/.ssh/config + cd /src diff --git a/Dockerfile b/Dockerfile index a59ccee..cf0219c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,6 +31,9 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \ # OhMyZsh RUN /bin/zsh -c 'sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"' RUN git clone https://github.com/Aloxaf/fzf-tab /root/.oh-my-zsh/custom/plugins/fzf-tab +RUN ansible-galaxy collection install infisical.vault + + COPY .zshrc /root/.zshrc CMD ["/bin/bash"]