mirror of
https://github.com/clearlinux/docker.git
synced 2026-05-13 18:23:53 +00:00
Implemented a FakeStorage alternative that supports spinning up a remote container on DOCKER_TEST_HOST to serve files over an offline-compiled Go static web server image so that tests which use URLs in Dockerfile can build them over at the daemon side. `fakeStorage` function now automatically chooses if it should use a local httptest.Server or a remote container. This fixes the following tests when running against a remote daemon: - `TestBuildCacheADD` - `TestBuildCopyWildcardNoFind` - `TestBuildCopyWildcardCache` - `TestBuildADDRemoteFileWithCache` - `TestBuildADDRemoteFileWithoutCache` - `TestBuildADDRemoteFileMTime` - `TestBuildADDLocalAndRemoteFilesWithCache` - `TestBuildADDLocalAndRemoteFilesWithoutCache` - `TestBuildFromURLWithF` - `TestBuildApiDockerFileRemote` Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
Hacking on Docker
The hack/ directory holds information and tools for everyone involved in the process of creating and distributing Docker, specifically:
Guides
If you're a contributor or aspiring contributor, you should read CONTRIBUTORS.md.
If you're a maintainer or aspiring maintainer, you should read MAINTAINERS.md.
If you're a packager or aspiring packager, you should read PACKAGERS.md.
If you're a maintainer in charge of a release, you should read RELEASE-CHECKLIST.md.
Roadmap
A high-level roadmap is available at ROADMAP.md.
Build tools
make.sh is the primary build tool for docker. It is used for compiling the official binary, running the test suite, and pushing releases.