* Prefer using https:// instead of git://
Both protocols are "smart" and should have similar performance.
HTTPS is encrypted, while the Git transport is plaintext.
HTTPS verifies the certificate of the server.
* Clean up comment
- "the source" means "s"
- no need to enumerate protocols
- enable use of cygwin to build and test s2i
- simplify git and file downloaders
- track posix file permissions on windows
- remove unnecessary runtime.GOOS == "windows" checks
- unit test fixes
- don't use deprecated image: openshift/wildfly-8-centos -> openshift/wildfly-100-centos7
- update docs to use --pull-policy instead of deprecated --force-pull.
- replace .stifile by .s2ifile in --use-config option description.
- Bootstrap.process(): don't try to do chmod on Windows
- cmd/s2i/main.go: fix file descriptors leak
- GenerateConfigFromLabels: remove unused parameter
- GenerateConfigFromLabels: use local variable for a list of labels
- sti.New(): rename argument from req to config
- DefaultCleaner: don't inherit ~30 methods while we're using just two
- STI.Prepare(): simplify
- DockerIgnorer.getListOfFilesToIgnore(): pass string instead of api.Config
- util.FixInjectionsWithRelativePath: rewrite to not modify its argument
- fix use of readlink & mktemp on osx
use GNU versions of these tools on darwin (OSX)
to install them, use :
$ brew install coreutils
- add a warning for OSX users, suggesting them to use a container to run the curl command
if they can't access the container's ip directly (because of boot2docker)
- run STI build for tests in incremental mode
- add more logs when testing
Otherwise, when running the image with "docker run ...", we have an error :
Cannot start container [...]: exec format error
Because docker "looks at the first few bytes to determine the type of the file"
See https://github.com/docker/docker/issues/10668 for more