File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 63
63
echo platform is ${PLATFORM}
64
64
# Build and run the ko binary, which should be runnable.
65
65
docker run $(go run ./ build ./ --platform=${PLATFORM} --preserve-import-paths) version
66
+ # Build and run the ko binary with the scratch base image, which should be runnable.
67
+ docker run $(KO_DEFAULTBASEIMAGE=scratch go run ./ build ./ --platform=${PLATFORM} --preserve-import-paths) version
66
68
67
69
# Build and run the test/ binary, which should log "Hello there" served from KO_DATA_PATH
68
70
testimg=$(go run ./ build ./test --platform=${PLATFORM} --preserve-import-paths)
Original file line number Diff line number Diff line change 1
- // Copyright 2023 ko Build Authors All Rights Reserved.
1
+ // Copyright 2024 ko Build Authors All Rights Reserved.
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1
- // Copyright 2023 ko Build Authors All Rights Reserved.
1
+ // Copyright 2024 ko Build Authors All Rights Reserved.
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
You can’t perform that action at this time.
0 commit comments