Skip to content

Instantly share code, notes, and snippets.

@nektro
Last active April 25, 2022 04:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nektro/64c7da67a00d8b94091d754dd2cf1aa9 to your computer and use it in GitHub Desktop.
Save nektro/64c7da67a00d8b94091d754dd2cf1aa9 to your computer and use it in GitHub Desktop.
const extras = @import("extras");
pub fn amInside() !bool {
return try extras.doesFileExist(null, "/.dockerenv");
}
id: wdpj695kgredmqq5smtkj5t8u5uert9mxm2rvd75
name: docker
main: docker.zig
license: MIT
dependencies:
- src: git https://github.com/nektro/zig-extras
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment