-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ask for confirmation before downloading the base image
Currently, there's no easy way to get the size of the impending download. Skopeo doesn't offer the size of the OCI image [1] and it's debatable whether another 23 MB binary ought to be pulled in as a dependency just for this. Given that the default fedora-toolbox images are the only base images available via a public repository, the size of the download is hard coded to reflect the approximate size of the fedora-toolbox images. These images are between 451 MB and 483 MB, so 500 MB should be a reasonably suggestive approximate that shouldn't negatively surprise users. [1] containers/skopeo#641 https://github.com/debarshiray/toolbox/issues/134
- Loading branch information
1 parent
01274dc
commit b718fbd
Showing
3 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters