File: Dockerfile

package info (click to toggle)
toxiproxy 2.0.0+dfsg1-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 388 kB
  • sloc: sh: 91; makefile: 59
file content (8 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
FROM golang:1.4

ADD . /app/src/github.com/Shopify/toxiproxy
RUN cd /app/src/github.com/Shopify/toxiproxy && GOPATH=/app/src/github.com/Shopify/toxiproxy/Godeps/_workspace:/app go build -ldflags="-X github.com/Shopify/toxiproxy.Version $(cat VERSION)" -o /app/toxiproxy ./cmd

EXPOSE 8474
ENTRYPOINT ["/app/toxiproxy"]
CMD ["-host=0.0.0.0"]