Skip to content

Commit e6d67ee

Browse files
authored
Release/1.0.0 (#7)
* 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
1 parent 95a1b7a commit e6d67ee

File tree

4,403 files changed

+340
-1598192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,403 files changed

+340
-1598192
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ debug
4141
/.idea
4242
/.vscode
4343
.DS_Store
44+
45+
/vendor

.travis.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

Dockerfile

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
1-
FROM golang:alpine as builder
1+
FROM golang:1.12-alpine as builder
2+
23

34
ENV PATH /go/bin:/usr/local/go/bin:$PATH
45
ENV GOPATH /go
56

6-
RUN apk add --no-cache \
7-
ca-certificates \
8-
--virtual .build-deps \
9-
git \
10-
gcc \
11-
libc-dev \
12-
libgcc \
13-
make \
14-
bash
15-
167
COPY . /go/src/github.com/eclipse-iofog/iofog-kubelet
178
WORKDIR /go/src/github.com/eclipse-iofog/iofog-kubelet
189
ARG BUILD_TAGS="netgo osusergo"
19-
RUN make VK_BUILD_TAGS="${BUILD_TAGS}" build
20-
RUN cp bin/iofog-kubelet /usr/bin/iofog-kubelet
2110

11+
RUN apk add --update --no-cache bash curl git make && \
12+
make vendor && \
13+
make VK_BUILD_TAGS="${BUILD_TAGS}" build && \
14+
cp bin/iofog-kubelet /usr/bin/iofog-kubelet
2215

2316
FROM scratch
2417
COPY --from=builder /usr/bin/iofog-kubelet /usr/bin/iofog-kubelet
2518
COPY --from=builder /etc/ssl/certs/ /etc/ssl/certs
19+
2620
ENTRYPOINT [ "/usr/bin/iofog-kubelet" ]
2721
CMD [ "--help" ]

0 commit comments

Comments
 (0)