Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-unixfs
Commits
c049a5c3
Commit
c049a5c3
authored
10 years ago
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #83 from jbenet/docker
chore(docker) create a basic ipfs image
parents
b5a1b1c6
ee49d0b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
Dockerfile
Dockerfile
+19
-0
No files found.
Dockerfile
0 → 100644
View file @
c049a5c3
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
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment