-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(big segments #1) add basic big segments configuration for SDK clients (
#237)
- Loading branch information
1 parent
0ab1b8c
commit 9a89ffb
Showing
9 changed files
with
120 additions
and
55 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ FROM golang:1.15.2-alpine as builder | |
|
||
RUN apk --no-cache add \ | ||
libc-dev \ | ||
# TEMPORARY FOR FEATURE BRANCH: we need to include git in order to use prerelease dependencies | ||
git openssh-client \ | ||
&& rm -rf /var/cache/apk/* | ||
|
||
ARG SRC_DIR=/go/ld-relay | ||
|
@@ -18,6 +20,13 @@ ENV CGO_ENABLED=0 | |
ENV GOOS=linux | ||
ENV GOPATH=/go | ||
|
||
# TEMPORARY FOR FEATURE BRANCH: allow fetching of prerelease dependencies - the SSH configuration | ||
# will be copied into the project directly by the CI script | ||
RUN mv temp_ssh ~/.ssh | ||
RUN chmod 400 ~/.ssh/id_rsa* | ||
RUN git config --global [email protected]:.insteadOf https://github.com/ | ||
ENV GOPRIVATE=github.com/launchdarkly/*-private | ||
|
||
RUN go build -a -o ldr . | ||
|
||
FROM alpine:3.12.0 | ||
|
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
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
Oops, something went wrong.