install rice during docker build
This commit is contained in:
rodzic
52ce35e8c3
commit
885a43709e
|
@ -20,7 +20,7 @@ RUN go mod download
|
|||
|
||||
COPY ./ ./
|
||||
#RUN make lint
|
||||
RUN make httpd
|
||||
RUN make rice-install && make httpd
|
||||
RUN go mod vendor
|
||||
RUN tar -c . | bzip2 > /src.tbz2
|
||||
|
||||
|
|
4
Makefile
4
Makefile
|
@ -48,7 +48,9 @@ docker:
|
|||
cd ../.. && \
|
||||
rice append -i ./httpserver --exec ./httpd
|
||||
|
||||
tools:
|
||||
tools: rice-install
|
||||
go get -v github.com/golangci/golangci-lint/cmd/golangci-lint@v1.31.0
|
||||
go get -v mvdan.cc/gofumpt/gofumports
|
||||
|
||||
rice-install:
|
||||
go get -v github.com/GeertJohan/go.rice/rice
|
||||
|
|
Ładowanie…
Reference in New Issue