diff --git a/PrivateDockerfile b/PrivateDockerfile index b78f2824969ace6376ea4b76c29ab8481387e6b4..60d808fc449996eadce3270c7527b4825c980abd 100644 --- a/PrivateDockerfile +++ b/PrivateDockerfile @@ -14,6 +14,9 @@ MAINTAINER Siddharth Kothari ARG ABC_BUILD=noss ENV ABC_BUILD=${ABC_BUILD} +# Use Private token for the codebase +ARG PAT + RUN apt-get update && \ apt-get install -y libssl-dev && \ mkdir -p $GOPATH/github.com/src/appbaseio/abc && \ @@ -24,6 +27,7 @@ RUN apt-get update && \ go get gopkg.in/olivere/elastic.v7 WORKDIR $GOPATH/src/github.com/appbaseio/abc +RUN git clone https://$PAT@github.com/appbaseio-confidential/abc-import private COPY . .