ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=20.04 |
ADD file:6a209aa51ba684c0a39769619c42058ca99311b87563c7b079319a8bb91bec1f in / |
CMD ["/bin/bash"] |
RUN /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 netcat tcpdump busybox && busybox --install -s && update-ca-certificates && apt-get -y clean && rm -rf /var/lib/apt/lists/* # buildkit |
ARG DEB_PATH |
ARG DEB_BASE=teleport_14.3.32 |
ARG TARGETARCH=amd64 |
RUN |3 DEB_PATH= DEB_BASE=teleport_14.3.32 TARGETARCH=amd64 /bin/sh -c dpkg -i /ctx/${DEB_PATH:-${DEB_BASE}_${TARGETARCH}.deb} # buildkit |
ENV TELEPORT_INSTALL_METHOD_DOCKERFILE=true |
ENTRYPOINT ["/usr/bin/dumb-init" "teleport" "start" "-c" "/etc/teleport/teleport.yaml"] |