mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-22 02:47:48 +08:00
removed init so that the image ships no longer ships with an identity. TODO Maybe allow `ipfs --init run`? It's important to keep the initialization process simple.
13 lines
317 B
Docker
13 lines
317 B
Docker
FROM golang:1.3
|
|
MAINTAINER Brian Tiger Chow <btc@perfmode.com>
|
|
|
|
COPY . /go/src/github.com/jbenet/go-ipfs
|
|
RUN cd /go/src/github.com/jbenet/go-ipfs/cmd/ipfs && go install
|
|
|
|
EXPOSE 4001
|
|
|
|
CMD ["ipfs", "run"]
|
|
|
|
# build: docker build -t go-ipfs .
|
|
# run: docker run -p 4001:4001 -e "IPFS_LOGGING=debug" go-ipfs:latest
|