我想从BitBucket下载一个私有存储库,但出现了一些错误
fatal: could not read Username for 'https://bitbucket.org': terminal prompts disabled
这是我的码头文件
FROM golang:1.17 as build
RUN apt update && apt upgrade -y &&
apt install -y git
make openssh-client
WORKDIR /src
COPY . .
RUN git config --global url."https://username:app_password@bitbucket.org".insteadOf "https://bitbucket.org"
RUN go mod tidy
RUN go build -o user-management
暂无答案!
目前还没有任何答案,快来回答吧!