forked from GoogleContainerTools/distroless
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding debian 10 build to node js (GoogleContainerTools#573)
* adding debian 10 build to node js * load distro suffixes from distro.bzl * adds new build target for nodejs, defaulting to debian9 * just testing something * retry * adds latest tags for nodejs builds * adds new node js build to cloudbuild * point latest and debug tags to node 14 * Update BUILD Co-authored-by: Chanseok Oh <[email protected]> * fix node version for default debian9 debug image Co-authored-by: Chanseok Oh <[email protected]> * remove empty line in nodejs build * Update cloudbuild.yaml formatting Co-authored-by: Chanseok Oh <[email protected]> * adds distro suffixes for nodejs example images * Update examples/nodejs/BUILD Co-authored-by: Chanseok Oh <[email protected]> * Update examples/nodejs/BUILD Co-authored-by: Chanseok Oh <[email protected]> * Fix rule suffix * Fix rule suffix * Fix tests * Remove executable bits from BUILD * consistency in examples Co-authored-by: Chanseok Oh <[email protected]>
- Loading branch information
1 parent
ad1103a
commit 58cec38
Showing
11 changed files
with
114 additions
and
55 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
schemaVersion: "1.0.0" | ||
commandTests: | ||
- name: hello | ||
command: ['/usr/bin/java', '-cp', '/app/distroless/examples/java/hello_debian10.binary.jar', 'examples.HelloJava'] | ||
expectedOutput: ['Hello world'] |
2 changes: 1 addition & 1 deletion
2
examples/java/testdata/hello.yaml → examples/java/testdata/hello_debian9.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
schemaVersion: "1.0.0" | ||
commandTests: | ||
- name: hello | ||
command: ['/usr/bin/java', '-cp', '/app/distroless/examples/java/hello.binary.jar', 'examples.HelloJava'] | ||
command: ['/usr/bin/java', '-cp', '/app/distroless/examples/java/hello_debian9.binary.jar', 'examples.HelloJava'] | ||
expectedOutput: ['Hello world'] |
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
Empty file.
Empty file.