Skip to content

Commit

Permalink
Reinstalar dependencias por modulo de go
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuchwald committed Jul 16, 2023
1 parent 7d5b7bf commit 898430c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ENV GOROOT /usr/lib/go
ENV GOPATH /go
ENV PATH $GOPATH/bin:$GOROOT/bin:$PATH

RUN grep '^[^ #]' /tmp/goimports.txt | xargs go get && rm -rf /tmp/goimports.txt && rm -rf /go.mod
RUN grep '^[^ #]' /tmp/goimports.txt | xargs go get && rm -rf /tmp/goimports.txt && go mod tidy && rm -rf /go.mod

# TODO: cambiar a $INPUT_PATH antes de correr $INPUT_COMMAND.
ENTRYPOINT ["/bin/sh", "-c"]

0 comments on commit 898430c

Please sign in to comment.