-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Version 1.0.0 * Added release* branch to pipeline triggers * Added `vendor` folder to gitignore * Build issue * review docker tags for release * review release candidate tags * update docker tag from commit to buildid
- Loading branch information
Showing
4,403 changed files
with
340 additions
and
1,598,192 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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 |
---|---|---|
|
@@ -41,3 +41,5 @@ debug | |
/.idea | ||
/.vscode | ||
.DS_Store | ||
|
||
/vendor |
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,27 +1,21 @@ | ||
FROM golang:alpine as builder | ||
FROM golang:1.12-alpine as builder | ||
|
||
|
||
ENV PATH /go/bin:/usr/local/go/bin:$PATH | ||
ENV GOPATH /go | ||
|
||
RUN apk add --no-cache \ | ||
ca-certificates \ | ||
--virtual .build-deps \ | ||
git \ | ||
gcc \ | ||
libc-dev \ | ||
libgcc \ | ||
make \ | ||
bash | ||
|
||
COPY . /go/src/github.com/eclipse-iofog/iofog-kubelet | ||
WORKDIR /go/src/github.com/eclipse-iofog/iofog-kubelet | ||
ARG BUILD_TAGS="netgo osusergo" | ||
RUN make VK_BUILD_TAGS="${BUILD_TAGS}" build | ||
RUN cp bin/iofog-kubelet /usr/bin/iofog-kubelet | ||
|
||
RUN apk add --update --no-cache bash curl git make && \ | ||
make vendor && \ | ||
make VK_BUILD_TAGS="${BUILD_TAGS}" build && \ | ||
cp bin/iofog-kubelet /usr/bin/iofog-kubelet | ||
|
||
FROM scratch | ||
COPY --from=builder /usr/bin/iofog-kubelet /usr/bin/iofog-kubelet | ||
COPY --from=builder /etc/ssl/certs/ /etc/ssl/certs | ||
|
||
ENTRYPOINT [ "/usr/bin/iofog-kubelet" ] | ||
CMD [ "--help" ] |
Oops, something went wrong.