mirror of
https://github.com/gabrie30/ghorg.git
synced 2026-05-05 03:46:09 +02:00
Fix for Dockerfile smell DL3059 (#300)
Signed-off-by: Giovanni Rosa <g.rosa1@studenti.unimol.it>
This commit is contained in:
parent
3e126e751d
commit
3d490a713e
@ -7,8 +7,8 @@ WORKDIR /go/src/github.com/gabrie30/ghorg
|
||||
COPY . .
|
||||
|
||||
# Fetching dependencies and build the app
|
||||
RUN go get -d -v ./...
|
||||
RUN CGO_ENABLED=0 go build -a --mod vendor -o ghorg .
|
||||
RUN go get -d -v ./... \
|
||||
&& CGO_ENABLED=0 go build -a --mod vendor -o ghorg .
|
||||
|
||||
# Needed for reclone command
|
||||
RUN cp ./ghorg /go/bin/ghorg
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user