Skip to content

Instantly share code, notes, and snippets.

@latonis
Last active January 29, 2024 21:00
Show Gist options
  • Save latonis/5ab7f4dd9dd86f2402bfcaf4b3830b54 to your computer and use it in GitHub Desktop.
Save latonis/5ab7f4dd9dd86f2402bfcaf4b3830b54 to your computer and use it in GitHub Desktop.
quick (temporary) devcontainer setup for working on YARA-X
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/rust
{
"name": "YARA-X devcontainer (Jacob's Version)",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/rust:1-1-bullseye",
"mounts": [
"source=${localEnv:HOME}/yara/malware,target=/home/vscode/yara/malware,type=bind,consistency=cached",
"source=${localEnv:HOME}/yara/rules,target=/home/vscode/yara/rules,type=bind,consistency=cached"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment