Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Commit

Permalink
Merge pull request #177 from toddproject/rebuild
Browse files Browse the repository at this point in the history
Move to dep for dependency management
  • Loading branch information
Mierdin authored Dec 6, 2018
2 parents 3ba8d27 + 3d0e6ca commit b558332
Show file tree
Hide file tree
Showing 716 changed files with 373,176 additions and 113,798 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ docs/local/
*pip-selfcheck.json
*.retry
docs/virtualenv/
api/exp/generated/
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,26 @@ RUN mkdir -p /opt/todd/server/assets/factcollectors
RUN mkdir -p /opt/todd/agent/assets/testlets
RUN mkdir -p /opt/todd/server/assets/testlets

RUN apt-get update \
&& apt-get install -y vim curl iperf git sqlite3 unzip

RUN curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && unzip protoc-3.2.0-linux-x86_64.zip -d protoc3 && chmod +x protoc3/bin/* && mv protoc3/bin/* /usr/local/bin && mv protoc3/include/* /usr/local/include/

# TODO(mierdin) How to install this vendored? Since we need the binary
RUN go get -u github.com/golang/protobuf/protoc-gen-go

# TODO(mierdin) Fix
RUN go get golang.org/x/net/context
RUN go get google.golang.org/grpc

# Install ToDD
COPY . /go/src/github.com/toddproject/todd

RUN cd /go/src/github.com/toddproject/todd && GO15VENDOREXPERIMENT=1 make && make install

RUN cp /go/src/github.com/toddproject/todd/etc/* /etc/todd


# Create runtime container
FROM debian:jessie

Expand Down
106 changes: 0 additions & 106 deletions Godeps/Godeps.json

This file was deleted.

5 changes: 0 additions & 5 deletions Godeps/Readme

This file was deleted.

Loading

0 comments on commit b558332

Please sign in to comment.