Skip to content

Commit

Permalink
Release/1.0.0 (#7)
Browse files Browse the repository at this point in the history
* 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
baghbidi authored Jun 24, 2019
1 parent 95a1b7a commit e6d67ee
Show file tree
Hide file tree
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.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ debug
/.idea
/.vscode
.DS_Store

/vendor
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

20 changes: 7 additions & 13 deletions Dockerfile
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" ]
Loading

0 comments on commit e6d67ee

Please sign in to comment.