mirror of
				https://github.com/optim-enterprises-bv/databunker.git
				synced 2025-10-31 01:47:57 +00:00 
			
		
		
		
	reverting some changes
This commit is contained in:
		| @@ -4,7 +4,7 @@ | ||||
| FROM golang:alpine AS builder | ||||
| # Install git. | ||||
| # Git is required for fetching the dependencies. | ||||
| RUN apk update && apk add --no-cache git gcc libc-dev openssl mysql-client && go get -u github.com/gobuffalo/packr/packr | ||||
| RUN apk update && apk add --no-cache git gcc libc-dev openssl && go get -u github.com/gobuffalo/packr/packr | ||||
| WORKDIR $GOPATH/src/securitybunker/databunker/src/ | ||||
| COPY src/go.mod ./deps | ||||
| RUN cat ./deps | grep -v storage > ./go.mod && go mod download | ||||
| @@ -23,8 +23,8 @@ RUN go get -d -v && \ | ||||
| FROM scratch | ||||
| # Copy our static executable. | ||||
| COPY --from=builder /bin/busybox /bin/sh | ||||
| COPY --from=builder /bin/busybox /usr/bin/openssl /usr/bin/mysql /bin/ | ||||
| COPY --from=builder /lib/ld* /lib/libssl.* /lib/libcrypto.* /lib/libz.* /usr/lib/libncurses* /usr/lib/libstdc* /usr/lib/libgcc* /lib/libc.* /lib/ | ||||
| COPY --from=builder /bin/busybox /usr/bin/openssl /bin/ | ||||
| COPY --from=builder /lib/ld* /lib/libssl.* /lib/libcrypto.* /lib/ | ||||
| COPY --from=builder /etc/group /etc/ | ||||
| COPY --from=builder /etc/ssl /etc/ssl | ||||
| COPY databunker.yaml /databunker/conf/ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 stremovsky
					stremovsky