github.com/craicoverflow/tyk@v2.9.6-rc3+incompatible/images/plugin-compiler/Dockerfile (about)

     1  FROM tykio/tyk-build-env:latest
     2  LABEL io.tyk.vendor="Tyk" \
     3        version="1.0" \
     4        description="Image for plugin development"
     5  
     6  ENV GOPATH=/go
     7  ARG TYK_GW_TAG
     8  # This directory will contain the plugin source and will be
     9  # mounted from the host box by the user using docker volumes
    10  ENV PLUGIN_SOURCE_PATH=/plugin-source
    11  # This is the temporary path where the plugin will be built
    12  ENV PLUGIN_BUILD_PATH=/go/src/plugin-build
    13  
    14  RUN mkdir -p $PLUGIN_SOURCE_PATH $PLUGIN_BUILD_PATH
    15  COPY images/plugin-compiler/data/build.sh /build.sh
    16  RUN chmod +x /build.sh
    17  
    18  COPY vendor/ $GOPATH/src/
    19  
    20  ENTRYPOINT ["/build.sh"]
    21