Skip to content

Instantly share code, notes, and snippets.

@velkovb
Created March 7, 2021 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velkovb/70ed1976878aed8a660fa0f9f99b962d to your computer and use it in GitHub Desktop.
Save velkovb/70ed1976878aed8a660fa0f9f99b962d to your computer and use it in GitHub Desktop.
BroadlinkgoDocker
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