提交 953713a1 编写于 作者: S Siddharth Kothari

fix: use PAT to download noss repo and build

上级 b1ae1808
......@@ -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 && \
......@@ -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 . .
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册