1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-10 05:52:20 +08:00

25 Commits

Author SHA1 Message Date
ce0d62dca3 docker: save image space by excluding .git/
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-02-05 04:03:30 +01:00
81c8cffee9 Rework the Dockerfile
- Have two Dockerfiles doing essentially the same,
  but optimized for build time (for tests)
  and image size (for Docker Hub)
- Fetch gx dependencies
- Expose port 4002 for utp
- Specify go version, currently 1.5.3-r0
- Create ephemeral fs-repo if none is mounted
- Have t0300-docker-image actually test IPFS, not just an echo
- Make everything a bit less hardcoded
- Remove dead shacheck

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-02-04 10:46:26 -08:00
fd5ddcb71b Build ipfs cmd inside docker container
License: MIT
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2016-01-17 21:27:17 +01:00
a226704b2d change Dockerfile order to create VOLUME under user ipfs
License: MIT
Signed-off-by: Christian Kniep <christian@qnib.org>
2016-01-10 20:19:23 +01:00
a245a27c17 Migrated Dockerfile to use alpine linux
License: MIT Signed-off-by: Knut Ahlers <knut@ahlers.me>
2015-07-15 13:07:34 +02:00
3534b039f7 Improve Dockerfile
* Added VOLUME to enable users to keep a state of the repo outside the container
* Added ipfs user to let ipfs run as a normal user and not as root
* Set IPFS_PATH to push IPFS to use the exposed dir
* Improved start script to be more verbose about errors
2015-04-23 23:54:32 +02:00
bf22aeec0a Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs
- Modified Godeps/Godeps.json by hand
- [TEST] Updated welcome docs hash to sharness
- [TEST] Updated contact doc
- [TEST] disabled breaking test (t0080-repo refs local)
2015-03-31 12:52:25 -07:00
ab28018f8c Moved the container startup script to bin 2015-02-23 00:16:38 +01:00
382697004b Removed 4002/udp for now, fixed start commands 2015-02-22 23:34:27 +01:00
0eef12a07b Added boot script to listen on 0.0.0.0 2015-02-22 23:27:25 +01:00
f6e3730908 HTTP transport is listening on port 8080 by default 2015-02-22 23:02:05 +01:00
7d7a09d44a Fix: IPFS needs golang:1.4 to build 2015-02-22 12:02:57 +01:00
8e562a5af0 Dockerfile: COPY -> ADD
```
2015/01/07 21:57:16 COPY has been deprecated. Please use ADD instead
```

Thanks @inconshreveable
2015-01-07 15:06:23 -08:00
c3fd9b5b20 feat(Dockerfile) expose UDP 4002 for swarm traffic
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-20 16:27:39 -08:00
458afe3da9 fix(Dockerfile) must specify both ports on one line
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-18 08:03:41 -08:00
9374f90763 feat(Dockerfile) expose API port
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-18 08:02:18 -08:00
63225d8fb3 feat(Dockerfile) add default command
@jbenet

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-18 07:49:01 -08:00
cc024716da docs(Dockerfile) update docker 'run' example
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-17 22:36:19 -08:00
e6ee19ed92 feat(Dockerfile) use ENTRYPOINT
Fixes #258

https://github.com/jbenet/go-ipfs/issues/258
2014-11-05 10:15:17 -08:00
c7e55ef3cf fix(Dockerfile)
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.
2014-11-02 22:24:11 -08:00
ea1576af9b docs(Dockerfile)
don't need -it
2014-11-02 22:09:20 -08:00
e7a5dc0056 docs(Dockerfile) update hint
privileged existed for mounting
2014-11-01 21:02:02 -07:00
06a8feeaf3 feat(docker) build a daemon
The default Docker build creates a daemon.

TODO allow bootstrap node to be overridden at runtime (perhaps with an
environment variable), so we can use custom topologies in test
environments. NB: We still want the default behavior to connect to Mars.

TODO create a docker image that mounts and uses shared volume to make
that mount accessible on the host.
2014-11-01 17:32:49 -07:00
ee49d0b79f fix(docker) listen on all interfaces 2014-09-16 03:47:31 -07:00
8bd381ed32 chore(docker) create a basic ipfs image 2014-09-15 23:13:00 -07:00