我想从 bitbucket 下载私有存储库,但出现一些错误
fatal: could not read Username for 'https://bitbucket.org': terminal prompts disabled
这是我的 dockerfile
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
桃花长相依
潇潇雨雨
慕尼黑8549860
相关分类