adds safe.directory
This commit is contained in:
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@@ -17,6 +17,7 @@ COPY . /go/src/app
|
|||||||
WORKDIR /go/src/app
|
WORKDIR /go/src/app
|
||||||
|
|
||||||
RUN apk add --no-cache git upx && \\
|
RUN apk add --no-cache git upx && \\
|
||||||
|
git config --global --add safe.directory /go/src/app && \\
|
||||||
addgroup -S -g 1000 app && \\
|
addgroup -S -g 1000 app && \\
|
||||||
adduser --disabled-password -G app --gecos "application account" --home "/home/app" --shell "/sbin/nologin" --no-create-home --uid 1000 app && \\
|
adduser --disabled-password -G app --gecos "application account" --home "/home/app" --shell "/sbin/nologin" --no-create-home --uid 1000 app && \\
|
||||||
go get -d -v ./... && \\
|
go get -d -v ./... && \\
|
||||||
|
Reference in New Issue
Block a user