ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=20.04 |
ADD file:e5742fae181dc02a419e48d202fdd6a561b79ccbe7d3415e15e3d2c12e444a2a 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 |
ARG TARGETARCH |
RUN |3 DEB_PATH= DEB_BASE=teleport_14.3.20 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"] |