A small set of ip tools for use with other images
1.5K
A small set of ip tooling + jq for parsing some of it. Tools are placed in /usr/bin.
Dockerfile:
FROM golang
ENV ROOT /src
ENV TFIP /src/tfip
ENV TFIP_URL https://github.com/erikh/tfip
ENV JSONLINK github.com/erikh/jsonlink
ENV JQ_PATH /usr/bin/jq
ENV JQ_URL http://stedolan.github.io/jq/download/linux64/jq
RUN mkdir /src
ADD ${JQ_URL} ${JQ_PATH}
RUN chmod 755 ${JQ_PATH}
RUN GOPATH=/usr go get ${JSONLINK}/jifaddrs
RUN GOPATH=/usr go get ${JSONLINK}/jroute
RUN apt-get update && apt-get install build-essential git -y
RUN git clone ${TFIP_URL} ${TFIP}
RUN cd ${TFIP} && make tfip && mv tfip /usr/bin
WORKDIR /
Content type
Image
Digest
sha256:5ea52221a…
Size
203.5 MB
Last updated
almost 11 years ago
docker pull erikh/ip-tools