This website requires JavaScript.
Explore
Help
Sign in
vbatts
/
cri-o
Watch
1
Star
0
Fork
You've already forked cri-o
0
Code
Issues
Pull requests
Releases
Wiki
Activity
0d7147ff5c
cri-o
/
test
/
copyimg
/
Makefile
7 lines
100 B
Makefile
Raw
Normal View
History
Unescape
Escape
Add and use copyimg for caching images for tests Add a basic tool for copying images from one location to another, optionally adding a name if it's to local storage. Ideally we could use skopeo for this, but we don't want to build it. Use it to initially populate the test/testdata/redis-image directory, if it's not been cleaned out, with a copy of "docker://redis:latest", and to copy it in to the storage that ocid is using before we start up ocid. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-10 22:57:22 +00:00
copyimg
:
$(
wildcard
*.
go
)
Use build tags for bin2img and copyimg Use the same build tags for bin2img and copyimg that we use for ocid, and improve detection of the case where we need to use the "libdm_no_deferred_remove" tag. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-31 16:57:19 +00:00
go build -tags
"
$(
BUILDTAGS
)
"
-o
$@
Add and use copyimg for caching images for tests Add a basic tool for copying images from one location to another, optionally adding a name if it's to local storage. Ideally we could use skopeo for this, but we don't want to build it. Use it to initially populate the test/testdata/redis-image directory, if it's not been cleaned out, with a copy of "docker://redis:latest", and to copy it in to the storage that ocid is using before we start up ocid. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-10 22:57:22 +00:00
.PHONY
:
clean
clean
:
rm -f copyimg
Reference in a new issue
Copy permalink