-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build lightstep image based on alpine
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
- Loading branch information
1 parent
5d7ae30
commit e0c05c6
Showing
3 changed files
with
39 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM golang:alpine | ||
|
||
ENV CGO_ENABLED 1 | ||
ENV GOOS linux | ||
ENV GOARCH amd64 | ||
|
||
# add build deps | ||
RUN apk add -U git build-base && \ | ||
go get github.com/Masterminds/glide |
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,7 +1,12 @@ | ||
FROM registry.opensource.zalan.do/stups/ubuntu:latest | ||
FROM registry.opensource.zalan.do/stups/alpine:latest | ||
MAINTAINER Skipper Maintainers <team-pathfinder@zalando.de> | ||
RUN apk --no-cache add ca-certificates && update-ca-certificates | ||
RUN mkdir -p /usr/bin | ||
ADD skipper eskip /usr/bin/ | ||
EXPOSE 9090 9911 | ||
ENV PATH $PATH:/usr/bin | ||
RUN mkdir -p /plugins | ||
ADD build/tracing_lightstep.so /plugins/ | ||
|
||
EXPOSE 9090 9911 | ||
|
||
ENTRYPOINT ["/usr/bin/skipper", "-plugindir", "/plugins"] |
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