mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 21:44:23 +01:00
add docker WORKDIR
This commit is contained in:
1 parent
c4738ef26f
commit
780123c5be
1 file changed
+2
@@ -13,6 +13,8 @@ FROM alpine:3.7
|
|||||||
|
|
||||||
ENV PROJECT /go/src/github.com/zricethezav/gitleaks
|
ENV PROJECT /go/src/github.com/zricethezav/gitleaks
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apk update && apk upgrade && apk add --no-cache bash git openssh
|
RUN apk update && apk upgrade && apk add --no-cache bash git openssh
|
||||||
|
|
||||||
COPY --from=build $PROJECT/bin/* /usr/bin/
|
COPY --from=build $PROJECT/bin/* /usr/bin/
|
||||||
|
|||||||
Reference in new issue
Block a user