Skip to content

Commit

Permalink
persist shell history
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Jan 5, 2024
1 parent 35bf5ef commit 50130b7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"image": "rapidsai/devcontainers:24.02-cpp-llvm17-cuda12.3-nvhpc23.7-ubuntu22.04",

"hostRequirements": { "gpu": true },
"hostRequirements": { "gpu": "optional" },

"initializeCommand": ["/bin/bash", "-c", "mkdir -p .cache/.{aws,config}"],
"initializeCommand": ["/bin/bash", "-c", "mkdir -p .cache/.{aws,cache,config}"],

"containerEnv": {
"SCCACHE_REGION": "us-east-2",
Expand All @@ -12,8 +12,11 @@
"HISTFILE": "${containerWorkspaceFolder}/.cache/._bash_history"
},

"workspaceFolder": "/home/coder",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/stdexec,type=bind,consistency=consistent",
"mounts": [
"source=${localWorkspaceFolder}/.cache/.aws,target=/home/coder/.aws,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/.cache/.cache,target=/home/coder/.cache,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/.cache/.config,target=/home/coder/.config,type=bind,consistency=consistent"
],

Expand Down

0 comments on commit 50130b7

Please sign in to comment.