Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Compile go binaries outside from containers * Avoid login if there are no credentials * Build all go images in the same job * Revert "Compile go binaries outside from containers" This reverts commit 0f605ee. * Revert change to build binaries outside of containers * Remove unnecessary dep ensure * Add missing cert * Fix typo in definition * Restore lint fixes
- Loading branch information
1 parent
95a73d2
commit 1af2906
Showing
6 changed files
with
36 additions
and
61 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
dashboard/node_modules | ||
.git | ||
docs |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
FROM alpine:3.6 as builder | ||
RUN apk --no-cache add ca-certificates | ||
FROM quay.io/deis/go-dev:v1.8.2 as builder | ||
COPY . /go/src/github.com/kubeapps/kubeapps | ||
WORKDIR /go/src/github.com/kubeapps/kubeapps | ||
RUN CGO_ENABLED=0 go build -a -installsuffix cgo ./cmd/tiller-proxy | ||
|
||
FROM scratch | ||
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ | ||
COPY ./proxy-static /proxy | ||
COPY --from=builder /go/src/github.com/kubeapps/kubeapps/tiller-proxy /proxy | ||
EXPOSE 8080 | ||
CMD ["/proxy"] |