Skip to content

Commit f77c020

Browse files
committed
mount /etc/timezone and /etc/localtime into the container for proper datetimes
1 parent 9b2269f commit f77c020

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.devcontainer/cuda12.9-conda/devcontainer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
"workspaceFolder": "/home/coder",
5151
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/devcontainers,type=bind,consistency=consistent",
5252
"mounts": [
53+
"source=/etc/timezone,target=/etc/timezone,type=bind,consistency=consistent",
54+
"source=/etc/localtime,target=/etc/localtime,type=bind,consistency=consistent",
5355
"source=${localWorkspaceFolder}/../rmm,target=/home/coder/rmm,type=bind,consistency=consistent",
5456
"source=${localWorkspaceFolder}/../dask-cuda,target=/home/coder/dask-cuda,type=bind,consistency=consistent",
5557
"source=${localWorkspaceFolder}/../kvikio,target=/home/coder/kvikio,type=bind,consistency=consistent",

.devcontainer/cuda12.9-pip/devcontainer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
"workspaceFolder": "/home/coder",
3939
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/devcontainers,type=bind,consistency=consistent",
4040
"mounts": [
41+
"source=/etc/timezone,target=/etc/timezone,type=bind,consistency=consistent",
42+
"source=/etc/localtime,target=/etc/localtime,type=bind,consistency=consistent",
4143
"source=${localWorkspaceFolder}/../rmm,target=/home/coder/rmm,type=bind,consistency=consistent",
4244
"source=${localWorkspaceFolder}/../dask-cuda,target=/home/coder/dask-cuda,type=bind,consistency=consistent",
4345
"source=${localWorkspaceFolder}/../kvikio,target=/home/coder/kvikio,type=bind,consistency=consistent",

.devcontainer/cuda13.0-conda/devcontainer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
"workspaceFolder": "/home/coder",
5151
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/devcontainers,type=bind,consistency=consistent",
5252
"mounts": [
53+
"source=/etc/timezone,target=/etc/timezone,type=bind,consistency=consistent",
54+
"source=/etc/localtime,target=/etc/localtime,type=bind,consistency=consistent",
5355
"source=${localWorkspaceFolder}/../rmm,target=/home/coder/rmm,type=bind,consistency=consistent",
5456
"source=${localWorkspaceFolder}/../dask-cuda,target=/home/coder/dask-cuda,type=bind,consistency=consistent",
5557
"source=${localWorkspaceFolder}/../kvikio,target=/home/coder/kvikio,type=bind,consistency=consistent",

.devcontainer/cuda13.0-pip/devcontainer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
"workspaceFolder": "/home/coder",
3939
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/devcontainers,type=bind,consistency=consistent",
4040
"mounts": [
41+
"source=/etc/timezone,target=/etc/timezone,type=bind,consistency=consistent",
42+
"source=/etc/localtime,target=/etc/localtime,type=bind,consistency=consistent",
4143
"source=${localWorkspaceFolder}/../rmm,target=/home/coder/rmm,type=bind,consistency=consistent",
4244
"source=${localWorkspaceFolder}/../dask-cuda,target=/home/coder/dask-cuda,type=bind,consistency=consistent",
4345
"source=${localWorkspaceFolder}/../kvikio,target=/home/coder/kvikio,type=bind,consistency=consistent",

0 commit comments

Comments
 (0)