github.com/tickoalcantara12/micro/v3@v3.0.0-20221007104245-9d75b9bcbab9/service/runtime/cells/go/Dockerfile (about)

     1  FROM golang:1.15.3
     2  
     3  WORKDIR /
     4  RUN apt-get update && \
     5      apt-get upgrade -y && \
     6      apt-get install -y git && \
     7      git version
     8  
     9  # install the entrypoint helper (finds the main.go)
    10  COPY util util
    11  WORKDIR util/entrypoint
    12  RUN go install
    13  
    14  WORKDIR /
    15  COPY entrypoint.sh /
    16  RUN chmod 755 entrypoint.sh
    17  ENTRYPOINT ["bash", "/entrypoint.sh"]