mirror of
https://github.com/terorie/od-database-crawler.git
synced 2025-04-19 18:36:43 +00:00
Pull src from local FS
This commit is contained in:
parent
01513f3e89
commit
8478789b12
@ -1,8 +1,11 @@
|
||||
FROM golang:alpine as builder
|
||||
ADD . /go/src/github.com/terorie/od-database-crawler
|
||||
RUN apk add git && \
|
||||
go get -d -v github.com/terorie/od-database-crawler
|
||||
WORKDIR /go/src/github.com/terorie/od-database-crawler
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /go/od-database-crawler .
|
||||
CGO_ENABLED=0 go install \
|
||||
-d -v \
|
||||
-a -installsuffix cgo \
|
||||
-o /go/od-database-crawler \
|
||||
github.com/terorie/od-database-crawler
|
||||
|
||||
FROM scratch
|
||||
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||
|
Loading…
x
Reference in New Issue
Block a user