Commit Graph

26 Commits

Author SHA1 Message Date
Lars Gierth
ad461c611e Revert "Makefile, bin: Support multiple GOPATH components"
This reverts commit ff75bc0318,
which broke building on windows. See ipfs/go-ipfs#2833.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-06-17 15:32:40 +02:00
Péter Szilágyi
ff75bc0318 Makefile, bin: Support multiple GOPATH components
License: MIT
Signed-off-by: Péter Szilágyi <peterke@gmail.com>
2016-06-05 21:39:02 +03:00
Lars Gierth
864e305557 build: specify a dist.ipfs.io hash
Right now bin/dist_get trusts whatever DNS resolver is active.
This change enables it to verify what it downloads.
Verification itself remains TODO.

This will work best with a unixfs-hash tool which is TODO too.
It'd just do the equivalent of `ipfs add -n -r <dirOrFile>`.

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-05-17 02:33:35 +02:00
Jeromy
5f624efe73 fix up dist_get script
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
3c7fad8af1 address some CR feedback
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
4a0882701a update dist_get script to be more cross platform
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
cd11a487cc debugging travisCI
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Jeromy
284bb1866f add a dist_get script for getting bins from dist.ipfs.io
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-05-09 10:55:33 -07:00
Lars Gierth
50127b2f58 docker: start daemon with --enable-gc
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-03-21 12:39:53 -04:00
Lars Gierth
7d67b0a69c build: fix path_check for symlink-into-gopath usecase
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-03-10 19:23:12 +01:00
Jeromy
aa6db5dde3 use makes realpath so its more crossplatform
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-03-01 11:24:01 -08:00
Jeromy
65519a0367 move gopath check to separate script and use realpath for symlink handling
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-23 22:26:37 -08:00
Christian Couder
40b21bfcfb bin: add check_go_version
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-02-23 21:26:10 +01:00
Jakub Sztandera
a59b47e093 Fix bin/check_gx_program on Windows where gx -v outputs full path
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@gmail.com>
2016-02-14 23:45:24 +01:00
Jakub Sztandera
72f5e3ba73 Reformat check_gx_program
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@gmail.com>
2016-02-14 23:45:24 +01:00
Christian Couder
694f22a4c8 bin: add check-gx-program
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2016-02-14 22:37:34 +01:00
Lars Gierth
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
Knut Ahlers
1cdafc7146 Use exec to start IPFS daemon
This incorporates feedback from @RX14 in #1685 and might fix #1537 as the ipfs daemon would get the stop signal from the docker daemon... Maybe that way it stops in a cleaner manner...

License: MIT
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2015-09-15 11:30:20 +02:00
Knut Ahlers
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
Juan Batiz-Benet
73e3e90cd9 simple ipns-republish script stopgap 2015-05-10 09:23:12 -04:00
Knut Ahlers
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
Knut Ahlers
ab28018f8c Moved the container startup script to bin 2015-02-23 00:16:38 +01:00
Juan Batiz-Benet
380068e6ff cmdrefgen to generate command ref 2015-02-16 13:53:07 -08:00
Juan Batiz-Benet
5f81d9638d diag/net: graphme restyling 2015-01-16 02:11:36 -08:00
Juan Batiz-Benet
8c6dc4f5d3 graphmd: LR orientation 2015-01-07 15:03:49 -08:00
Juan Batiz-Benet
37c32be10a bin graphmd for wonderful graphs 2015-01-07 13:44:30 -08:00