init
This commit is contained in:
12
vendor/github.com/rylio/ytdl/Dockerfile
generated
vendored
Normal file
12
vendor/github.com/rylio/ytdl/Dockerfile
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM golang:alpine
|
||||
|
||||
COPY . $GOPATH/src/github.com/rylio/ytdl/
|
||||
RUN apk update && apk upgrade && \
|
||||
apk add --no-cache git
|
||||
RUN go get -d github.com/rylio/ytdl/cmd/ytdl/
|
||||
RUN apk del git
|
||||
WORKDIR $GOPATH/src/github.com/rylio/ytdl/cmd/ytdl/
|
||||
RUN go build -o /go/bin/ytdl
|
||||
WORKDIR /ytdl/
|
||||
|
||||
ENTRYPOINT ["/go/bin/ytdl"]
|
Reference in New Issue
Block a user