Commit Graph

15 Commits

Author SHA1 Message Date
Tianon Gravi 143301cc9e Merge github.com/docker-library/go-dockerlibrary into bashbrew
This adjusts import paths, go.mod, and adds a new "Dockerfile.test" to run the unit tests.
2020-08-19 16:21:07 -07:00
Tianon Gravi c37ef753c4 Update test to verify "path.Clean" behavior 2019-06-18 16:21:09 -07:00
Tianon Gravi 49776e367d Adjust test to instead use the same example manifest for consistency 2018-07-25 14:30:21 -07:00
Giuseppe Valente 3532dbec44 manifest: test ArchFile() 2018-04-25 15:54:15 -07:00
Giuseppe Valente 3f4644cf4f manifest: add File: attribute
It is useful to have multiple dockerfiles in a single directory, if for
example multiple apps need to have access to the root of the repo to be
built.
2018-04-13 16:11:33 -07:00
Tianon Gravi 21d68d83eb Add Architectures sorting, deduplication, and validation 2017-06-13 14:34:23 -07:00
Tianon Gravi 6c0c78bdb5 Fix the case of default Architectures being added to any Global Architectures 2017-06-01 14:13:35 -07:00
Tianon Gravi d84bfcca38 Add a few new fields for slightly more code coverage 2017-06-01 11:38:22 -07:00
Tianon Gravi 40117df115 Add more tweaks, functionality, and tests to the Architectures implementation 2017-06-01 11:16:29 -07:00
Tianon Gravi 5c0cbe7322 Add an example of reading a local manifest file too 2017-04-03 15:37:39 -07:00
Tianon Gravi 02a23d8a95 Increase coverage further by adding an example for "manifest.Fetch" 2017-04-03 15:29:23 -07:00
Tianon Gravi 6355cdbae8 Apply gofmt 2017-04-03 15:20:35 -07:00
Tianon Gravi ef736bc836 Add example Constraints for another 0.4% test coverage increase 2017-04-03 15:17:09 -07:00
Tianon Gravi 499d4731a3 Add "line-based" maintainers to our example for a 0.4% coverage increase 2017-04-03 15:13:42 -07:00
Tianon Gravi 9536e92ebd Convert "example.go" into a real Go "Example" function (77% test coverage right off the bat!) 2017-04-03 15:10:40 -07:00