Skip to content

Commit

Permalink
fix: use PAT to download noss repo and build
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthlatest committed Aug 4, 2019
1 parent b1ae180 commit 953713a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PrivateDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ MAINTAINER Siddharth Kothari <siddharth@appbase.io>
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 && \
Expand All @@ -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 . .

Expand Down

0 comments on commit 953713a

Please sign in to comment.