You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`.github/workflows/docker-multi-arch.yml` auto-builds on pushes to `main` and manual dispatch. Tags produced:
54
-
*`latest`
55
-
* Date stamp (`YYYYMMDD`)
56
-
* Short SHA (12 chars)
57
-
* Optional manual input tag
58
-
59
-
### Runtime Smoke Tests
60
-
61
-
Python:
62
-
```python
63
-
import tensorflow as tf, keras
64
-
print(tf.__version__)
65
-
```
66
-
67
-
R:
68
-
```r
69
-
library(Rsafd)
70
-
library(reticulate)
71
-
py<- import('tensorflow')
72
-
py$`__version__`
73
-
```
74
-
75
-
### Persistent Package Installs (User Space)
33
+
## Persistent Package Installs
76
34
77
35
When you mount a host directory to `/workspace/notebooks`, the container creates a per-image hash directory that keeps any packages you install interactively:
78
36
@@ -112,6 +70,20 @@ To “reset” just remove the directory on the host:
112
70
rm -rf /path/on/host/.rsafd-docker-*/
113
71
```
114
72
73
+
## Development
74
+
75
+
### Extending
76
+
77
+
Add R packages (example):
78
+
```dockerfile
79
+
RUN R -q -e "install.packages('xts', repos='https://cloud.r-project.org', dependencies=TRUE)"
80
+
```
81
+
82
+
Add Python packages:
83
+
```dockerfile
84
+
RUN /opt/venv/bin/pip install --no-cache-dir xgboost
0 commit comments