Created
March 7, 2021 13:24
-
-
Save velkovb/70ed1976878aed8a660fa0f9f99b962d to your computer and use it in GitHub Desktop.
BroadlinkgoDocker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.12 | |
WORKDIR /go/src/github.com/rob121/ | |
RUN git clone -b rm4proplus https://github.com/velkovb/broadlinkgo.git | |
RUN go get github.com/GeertJohan/go.rice && go get github.com/GeertJohan/go.rice/rice | |
RUN cd ./broadlinkgo/cmd && rice embed-go && go build -o broadlinkgo | |
CMD ["./broadlinkgo/cmd/broadlinkgo", "--port=8010"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment