ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=20.04 |
ADD file:4809da414c2d478b4d991cbdaa2df457f2b3d07d0ff6cf673f09a66f90833e81 in / |
CMD ["/bin/bash"] |
ARG DEB_PATH |
COPY teleport_14.1.0_amd64.deb /tmp/teleport.deb # buildkit |
RUN |1 DEB_PATH=teleport_14.1.0_amd64.deb /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y ca-certificates dumb-init libelf1 && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y net-tools iputils-ping inetutils-telnet netcat tcpdump busybox && busybox --install -s && update-ca-certificates && dpkg -i /tmp/teleport.deb && apt-get -y clean && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/* # buildkit |
ENV TELEPORT_INSTALL_METHOD_DOCKERFILE=true |
ENTRYPOINT ["/usr/bin/dumb-init" "teleport" "start" "-c" "/etc/teleport/teleport.yaml"] |