github.com/mirantis/virtlet@v1.5.2-0.20191204181327-1659b8a48e9b/images/Dockerfile.virtlet (about)

     1  # TODO: generate this tag. unfortunately can't use ARG:
     2  # https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact
     3  # (but add a note about it here for the future)
     4  FROM mirantis/virtlet-base:v1-6348ee2277c565d3895260bccb5ada96
     5  MAINTAINER Ivan Shvedunov <ishvedunov@mirantis.com>
     6  
     7  LABEL virtlet.image="virtlet"
     8  
     9  COPY image_skel /.
    10  COPY _output/flexvolume_driver /
    11  # Integration tests look for virtlet in $PATH
    12  # and we want it to be located in the same place both
    13  # in build/test image and production one
    14  COPY _output/virtlet /usr/local/bin
    15  COPY _output/virtletctl /usr/local/bin
    16  COPY _output/virtlet-longevity-tests /usr/local/bin
    17  COPY _output/vmwrapper /
    18  COPY _output/virtlet-e2e-tests /
    19  RUN GRPC_HEALTH_PROBE_VERSION=v0.2.2 && \
    20      curl -L -s -o /usr/local/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 && \
    21      chmod +x /usr/local/bin/grpc_health_probe
    22  
    23  CMD ["/start.sh"]