This repository has been archived by the owner on May 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
e2e: update turn-client and stun-client Dockerfile-s
- Loading branch information
Showing
2 changed files
with
14 additions
and
4 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,8 +1,13 @@ | ||
ARG CI_GO_VERSION | ||
FROM golang:${CI_GO_VERSION} | ||
|
||
ADD . /go/src/github.com/gortc/gortcd/e2e/gortc-turn/turn-client | ||
WORKDIR /go/src/github.com/gortc/gortcd/e2e/gortc-turn/turn-client | ||
ADD go.mod /src/stun-client/ | ||
ADD go.sum /src/stun-client/ | ||
WORKDIR /src/stun-client/ | ||
RUN go mod download | ||
|
||
ADD main.go /src/stun-client/ | ||
|
||
RUN go install . | ||
|
||
CMD ["turn-client"] |
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,8 +1,13 @@ | ||
ARG CI_GO_VERSION | ||
FROM golang:${CI_GO_VERSION} | ||
|
||
ADD . /src/turn-client | ||
WORKDIR /src/turn-client | ||
ADD go.mod /src/turn-client/ | ||
ADD go.sum /src/turn-client/ | ||
WORKDIR /src/turn-client/ | ||
RUN go mod download | ||
|
||
ADD main.go /src/turn-client/ | ||
|
||
RUN go install . | ||
|
||
CMD ["turn-client"] |