-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
Issue #93: reproducible builds
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
component_depth: 1 | ||
languages: | ||
- go | ||
exclude: | ||
- /vendor/.* |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,10 +27,7 @@ _testmain.go | |
*.prof | ||
|
||
# build folder | ||
build | ||
|
||
# vendor folder | ||
vendor | ||
/build | ||
|
||
# IDE settings | ||
.idea |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM ubuntu:xenial | ||
|
||
ARG go_version=1.9.2 | ||
ARG fritzctl_revision=master | ||
ARG fritzctl_version=unknown | ||
|
||
RUN apt-get update && apt-get install -y make wget git | ||
RUN wget --quiet https://storage.googleapis.com/golang/go${go_version}.linux-amd64.tar.gz | ||
RUN tar -xf go${go_version}.linux-amd64.tar.gz | ||
RUN mv go /usr/local | ||
RUN mkdir -p /root/go/src/github.com/bpicode | ||
|
||
WORKDIR /root/go/src/github.com/bpicode | ||
RUN git clone https://github.com/bpicode/fritzctl.git | ||
WORKDIR /root/go/src/github.com/bpicode/fritzctl | ||
RUN git checkout ${fritzctl_revision} | ||
RUN mkdir build | ||
|
||
ENV GOPATH=/root/go | ||
ENV GOROOT=/usr/local/go | ||
ENV PATH=$GOPATH/bin:$GOROOT/bin:$PATH | ||
ENV FRITZCTL_VERSION=$fritzctl_version | ||
|
||
ENTRYPOINT [ "make", "sysinfo", "deps", "dist_all"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.