-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from livepeer/eli/docker
add new simple Catalyst Dockerfile
- Loading branch information
Showing
8 changed files
with
82 additions
and
172 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.* | ||
*~ | ||
Dockerfile.catalyst | ||
Dockerfile | ||
bin/ | ||
lib/ | ||
build/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM golang:1-stretch as gobuild | ||
|
||
ARG GIT_VERSION=unknown | ||
|
||
WORKDIR /build | ||
|
||
ADD go.mod go.mod | ||
ADD go.sum go.sum | ||
RUN go mod download | ||
ADD . . | ||
RUN make | ||
RUN ls bin | ||
|
||
FROM ubuntu:20.04 | ||
|
||
LABEL maintainer="Amritanshu Varshney <[email protected]>" | ||
|
||
# Needed for working TLS | ||
RUN apt-get update \ | ||
&& apt-get install -y ca-certificates musl \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
COPY --from=gobuild /build/bin/ /usr/bin/ | ||
|
||
EXPOSE 1935 4242 8080 8889/udp | ||
|
||
ENTRYPOINT ["/usr/bin/catalyst"] |
This file was deleted.
Oops, something went wrong.
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
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
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
File renamed without changes.
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