mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
2e95bb5f1a
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> |
||
---|---|---|
.. | ||
completion | ||
desktop-integration | ||
docker-device-tool | ||
host-integration | ||
httpserver | ||
init | ||
mkimage | ||
syntax | ||
udev | ||
vagrant-docker | ||
check-config.sh | ||
download-frozen-image.sh | ||
MAINTAINERS | ||
mkimage-alpine.sh | ||
mkimage-arch-pacman.conf | ||
mkimage-arch.sh | ||
mkimage-busybox.sh | ||
mkimage-crux.sh | ||
mkimage-debootstrap.sh | ||
mkimage-rinse.sh | ||
mkimage-unittest.sh | ||
mkimage-yum.sh | ||
mkimage.sh | ||
mkseccomp.pl | ||
mkseccomp.sample | ||
nuke-graph-directory.sh | ||
README |
The `contrib` directory contains scripts, images, and other helpful things which are not part of the core docker distribution. Please note that they could be out of date, since they do not receive the same attention as the rest of the repository.