mirror of
				https://github.com/optim-enterprises-bv/databunker.git
				synced 2025-10-31 01:47:57 +00:00 
			
		
		
		
	minor cleanups
This commit is contained in:
		| @@ -5,13 +5,12 @@ FROM golang:alpine AS builder | |||||||
| # Install git. | # Install git. | ||||||
| # Git is required for fetching the dependencies. | # Git is required for fetching the dependencies. | ||||||
| RUN apk update && apk add --no-cache git gcc libc-dev && go get -u github.com/gobuffalo/packr/packr | RUN apk update && apk add --no-cache git gcc libc-dev && go get -u github.com/gobuffalo/packr/packr | ||||||
| COPY src/go.mod $GOPATH/src/securitybunker/databunker/src/deps |  | ||||||
| WORKDIR $GOPATH/src/securitybunker/databunker/src/ | WORKDIR $GOPATH/src/securitybunker/databunker/src/ | ||||||
| RUN cat deps | grep -v storage >> go.mod && go mod download && echo "copy code" | COPY src/go.mod ./deps | ||||||
|  | RUN cat ./deps | grep -v storage > ./go.mod && go mod download | ||||||
|  |  | ||||||
| COPY . $GOPATH/src/securitybunker/databunker/ | COPY . $GOPATH/src/securitybunker/databunker/ | ||||||
| WORKDIR $GOPATH/src/securitybunker/databunker/src/ | #RUN echo "tidy " && go get -u && go mod tidy && cat ./go.mod | ||||||
| #RUN echo "update " && go get -u && cat ./go.mod |  | ||||||
| #RUN echo "tidy " && go mod tidy && cat ./go.mod |  | ||||||
| # Fetch dependencies. | # Fetch dependencies. | ||||||
| # Using go get. | # Using go get. | ||||||
| RUN go get -d -v && \ | RUN go get -d -v && \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 root
					root