mirror of
https://github.com/azure/setup-kubectl.git
synced 2026-12-04 20:01:53 +00:00
Add node modules and new code for release (#39)
Co-authored-by: tbarnes94 <tbarnes94@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a10d84bc2e
commit
7ad2aa66bb
+15
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
Check if the process is running inside a Docker container.
|
||||
|
||||
@example
|
||||
```
|
||||
import isDocker = require('is-docker');
|
||||
|
||||
if (isDocker()) {
|
||||
console.log('Running inside a Docker container');
|
||||
}
|
||||
```
|
||||
*/
|
||||
declare function isDocker(): boolean;
|
||||
|
||||
export = isDocker;
|
||||
Reference in New Issue
Block a user