commit
0cfd1f07d2
@ -13,7 +13,7 @@ RUN apk add --update $PACKAGES
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Make the binary
|
# Make the binary
|
||||||
RUN make update-tools deps build
|
RUN make tools deps build
|
||||||
|
|
||||||
# Final image
|
# Final image
|
||||||
FROM alpine:edge
|
FROM alpine:edge
|
||||||
|
2
Makefile
2
Makefile
@ -94,7 +94,7 @@ tools:
|
|||||||
@echo "Installing unparam"
|
@echo "Installing unparam"
|
||||||
go get -v $(UNPARAM)
|
go get -v $(UNPARAM)
|
||||||
endif
|
endif
|
||||||
ifdef GOYCLO_CHECK
|
ifdef GOCYCLO_CHECK
|
||||||
@echo "goyclo is already installed. Run 'make update-tools' to update."
|
@echo "goyclo is already installed. Run 'make update-tools' to update."
|
||||||
else
|
else
|
||||||
@echo "Installing goyclo"
|
@echo "Installing goyclo"
|
||||||
|
Loading…
Reference in New Issue
Block a user