From a1170ec2b4e1ba829cb2c57ec7539a96d8a045cf Mon Sep 17 00:00:00 2001 From: Noah Stride Date: Tue, 19 Jul 2022 17:17:53 +0100 Subject: [PATCH] [v10] Add tbot to nightly build (#14631) Add tbot to nightly build --- build.assets/Dockerfile-cron | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.assets/Dockerfile-cron b/build.assets/Dockerfile-cron index 80e48c82b35f7..e5230361bf696 100644 --- a/build.assets/Dockerfile-cron +++ b/build.assets/Dockerfile-cron @@ -16,7 +16,7 @@ RUN apk --update --no-cache add curl tar # a temporary directory for us to use in the second stage. RUN mkdir -p build && \ curl -Ls https://get.gravitational.com/${DOWNLOAD_TYPE}-${VERSION_TAG}-${OS}-${ARCH}${EXTRA_DOWNLOAD_ARGS}-bin.tar.gz | tar -xzf - && \ - cp $DOWNLOAD_TYPE/teleport $DOWNLOAD_TYPE/tctl $DOWNLOAD_TYPE/tsh build + cp $DOWNLOAD_TYPE/teleport $DOWNLOAD_TYPE/tctl $DOWNLOAD_TYPE/tsh $DOWNLOAD_TYPE/tbot build # Second stage builds final container with teleport binaries. FROM ubuntu:20.04 AS teleport @@ -29,10 +29,11 @@ RUN apt-get update && \ apt-get -y clean && \ rm -rf /var/lib/apt/lists/* -# Copy "teleport", "tctl", and "tsh" binaries from the previous stage. +# Copy "teleport", "tctl", "tbot", and "tsh" binaries from the previous stage. COPY --from=download /tmp/build/teleport /usr/local/bin/teleport COPY --from=download /tmp/build/tctl /usr/local/bin/tctl COPY --from=download /tmp/build/tsh /usr/local/bin/tsh +COPY --from=download /tmp/build/tbot /usr/local/bin/tbot # Run Teleport inside the image with a default config file location. ENTRYPOINT ["/usr/bin/dumb-init", "teleport", "start", "-c", "/etc/teleport/teleport.yaml"]