Skip to content

Commit a94191c

Browse files
author
Oleg Sucharevich
authored
Refactor whole project into more common structure
2 parents 5ff0f26 + 8651d6a commit a94191c

File tree

1,459 files changed

+266304
-66439
lines changed

Some content is hidden

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

1,459 files changed

+266304
-66439
lines changed

.dockerignore

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.vscode
22
debug
3+
dist/*

Dockerfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1-
FROM golang:latest as builder
1+
FROM golang:1.10-alpine3.8 as builder
2+
3+
# Add basic tools
4+
RUN apk add --no-cache --update curl bash make git
5+
26
RUN mkdir -p /go/src/github.com/codefresh-io/stevedore
37
WORKDIR /go/src/github.com/codefresh-io/stevedore
8+
9+
ENV GOPATH /go
410
COPY . .
11+
12+
# Build binary
513
RUN "./scripts/BUILD.sh"
614

715

@@ -10,6 +18,8 @@ FROM alpine:3.6
1018
RUN apk add --no-cache ca-certificates
1119

1220
COPY --from=builder /go/src/github.com/codefresh-io/stevedore/dist/bin/stevedore /usr/bin/stevedore
21+
22+
1323
ENV PATH $PATH:/usr/bin/stevedore
1424
ENTRYPOINT ["stevedore"]
1525

0 commit comments

Comments
 (0)