blob: eb45307d34644a27db44ed0ebfc954c760bad17d [file] [log] [blame]
{
"name": "couchdb-dev",
"build": {
"dockerfile": "Dockerfile",
"context": "..",
"args": {
// Useful choices include:
// apache/couchdbci-debian:bullseye-erlang-26.1.2
// apache/couchdbci-debian:bullseye-erlang-25.3.2.7
// apache/couchdbci-debian:bookworm-erlang-24.3.4.14
//
"COUCHDB_IMAGE": "apache/couchdbci-debian:bullseye-erlang-24.3.4.14"
}
},
// We are using a volume mount to improve performance
// https://code.visualstudio.com/remote/advancedcontainers/improve-performance#_use-a-named-volume-for-your-entire-source-tree
//
// and eliminate test flake.
// https://github.com/apache/couchdb/discussions/4145
//
// Your code will not be bound to the host OS folder you started this project from.
// Your code will live inside the volume created for the container under /workspace.
"workspaceMount": "target=/workspaces/couchdb,type=volume",
"workspaceFolder": "/workspaces/couchdb",
"postCreateCommand": "./configure --enable-nouveau --enable-clouseau && make",
"customizations": {
"vscode": {
"extensions": [
"erlang-ls.erlang-ls",
"redhat.java"
]
}
}
}