Commit c049a5c3 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

Merge pull request #83 from jbenet/docker

chore(docker) create a basic ipfs image
parents b5a1b1c6 ee49d0b7
FROM golang:1.3
MAINTAINER Brian Tiger Chow <btc@perfmode.com>
RUN apt-get update
RUN apt-get install -y fuse
COPY . /go/src/github.com/jbenet/go-ipfs
RUN cd /go/src/github.com/jbenet/go-ipfs/cmd/ipfs && go install
RUN ipfs init
RUN ipfs config Identity.Address "/ip4/0.0.0.0/tcp/4001"
RUN mkdir /ipfs
EXPOSE 4001
CMD ["ipfs", "mount", "/ipfs"]
# build: docker build -t go-ipfs .
# run: docker run --privileged=true -i -t go-ipfs:latest
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment