sandboxbox 1.2.0 โ 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +80 -24
- package/Dockerfile.test +16 -0
- package/bin/bwrap +0 -0
- package/build-final.log +2217 -0
- package/build-output.log +289 -0
- package/cli.js +4 -2
- package/complete-build.log +231 -0
- package/container.js +402 -26
- package/final-build.log +268 -0
- package/final-complete-build.log +240 -0
- package/full-build.log +234 -0
- package/init-firewall.sh +36 -0
- package/npm-build-test.log +410 -0
- package/package.json +1 -1
- package/sandboxbox-sandbox/build.sh +83 -0
@@ -0,0 +1,410 @@
|
|
1
|
+
|
2
|
+
> sandboxbox@1.2.1 build
|
3
|
+
> node cli.js build Dockerfile
|
4
|
+
|
5
|
+
[36m๐ฆ SandboxBox - Zero-Privilege Container Runner[0m
|
6
|
+
[36mโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ[0m
|
7
|
+
|
8
|
+
[34m๐๏ธ Building container...[0m
|
9
|
+
โ
Using bundled bubblewrap
|
10
|
+
[32mโ
Bubblewrap found: bubblewrap 0.9.0[0m
|
11
|
+
[33mโ ๏ธ User namespaces not available[0m
|
12
|
+
[33m Try: sudo sysctl kernel.unprivileged_userns_clone=1[0m
|
13
|
+
[33m Or: echo 1 | sudo tee /proc/sys/kernel/unprivileged_userns_clone[0m
|
14
|
+
โ
Using bundled bubblewrap
|
15
|
+
๐ณ Building container with bubblewrap isolation...
|
16
|
+
|
17
|
+
๐ฆ FROM node:20
|
18
|
+
โ ๏ธ Unknown base image type
|
19
|
+
|
20
|
+
๐๏ธ ARG TZ
|
21
|
+
|
22
|
+
๐ง ENV TZ="$TZ"
|
23
|
+
|
24
|
+
๐๏ธ ARG CLAUDE_CODE_VERSION=latest
|
25
|
+
|
26
|
+
โ๏ธ RUN apt-get update && apt-get install -y --no-install-recommends less gi...
|
27
|
+
โ๏ธ RUN mkdir -p /usr/local/share/npm-global && chown -R node:node /usr/local...
|
28
|
+
๐๏ธ ARG USERNAME=node
|
29
|
+
|
30
|
+
โ๏ธ RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/comman...
|
31
|
+
๐ง ENV DEVCONTAINER=true
|
32
|
+
|
33
|
+
โ๏ธ RUN mkdir -p /workspace /home/node/.claude && chown -R node:node /workspa...
|
34
|
+
๐ WORKDIR workspace
|
35
|
+
|
36
|
+
๐๏ธ ARG GIT_DELTA_VERSION=0.18.2
|
37
|
+
|
38
|
+
โ๏ธ RUN ARCH=$(dpkg --print-architecture) && wget "https://github.com/dandavi...
|
39
|
+
๐ค USER node
|
40
|
+
|
41
|
+
๐ง ENV NPM_CONFIG_PREFIX=/usr/local/share/npm-global
|
42
|
+
|
43
|
+
๐ง ENV PATH=$PATH:/usr/local/share/npm-global/bin
|
44
|
+
|
45
|
+
๐ง ENV SHELL=/bin/zsh
|
46
|
+
|
47
|
+
๐ง ENV EDITOR=nano
|
48
|
+
|
49
|
+
๐ง ENV VISUAL=nano
|
50
|
+
|
51
|
+
๐๏ธ ARG ZSH_IN_DOCKER_VERSION=1.2.0
|
52
|
+
|
53
|
+
โ๏ธ RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/dow...
|
54
|
+
โ๏ธ RUN npm install -g @anthropic-ai/claude-code@${CLAUDE_CODE_VERSION}
|
55
|
+
โ๏ธ RUN npx --yes playwright install-deps
|
56
|
+
โ๏ธ RUN npm i -g @playwright/mcp
|
57
|
+
๐ COPY init-firewall.sh /usr/local/bin/
|
58
|
+
โ ๏ธ COPY/ADD commands must be run in project directory
|
59
|
+
|
60
|
+
๐ค USER root
|
61
|
+
|
62
|
+
โ๏ธ RUN chmod +x /usr/local/bin/init-firewall.sh && echo "node ALL=(root) NOP...
|
63
|
+
๐ค USER node
|
64
|
+
|
65
|
+
๐ Creating build script...
|
66
|
+
|
67
|
+
โ
Build script created: sandboxbox-sandbox/build.sh
|
68
|
+
|
69
|
+
๐ Executing build commands...
|
70
|
+
|
71
|
+
โ ๏ธ Note: Commands will run on host system (Docker-free mode)
|
72
|
+
|
73
|
+
๐งน Cleaning up previous build artifacts...
|
74
|
+
โ
Cleanup complete
|
75
|
+
|
76
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
77
|
+
|
78
|
+
|
79
|
+
๐ [1/10] apt-get update && apt-get install -y --no-install-recommends less git procps ...
|
80
|
+
๐ Running with sudo (requires root privileges)
|
81
|
+
Get:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease [256 kB]
|
82
|
+
Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
|
83
|
+
Get:3 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
|
84
|
+
Get:4 http://ports.ubuntu.com/ubuntu-ports noble/multiverse Sources [355 kB]
|
85
|
+
Get:5 http://ports.ubuntu.com/ubuntu-ports noble/main Sources [1,713 kB]
|
86
|
+
Get:6 http://ports.ubuntu.com/ubuntu-ports noble/universe Sources [24.3 MB]
|
87
|
+
Get:7 http://ports.ubuntu.com/ubuntu-ports noble/restricted Sources [21.8 kB]
|
88
|
+
Get:8 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 Packages [19.0 MB]
|
89
|
+
Get:9 http://ports.ubuntu.com/ubuntu-ports noble/restricted arm64 Packages [113 kB]
|
90
|
+
Get:10 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 Packages [1,776 kB]
|
91
|
+
Get:11 http://ports.ubuntu.com/ubuntu-ports noble/multiverse arm64 Packages [274 kB]
|
92
|
+
Get:12 http://ports.ubuntu.com/ubuntu-ports noble-updates/main Sources [583 kB]
|
93
|
+
Get:13 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted Sources [70.8 kB]
|
94
|
+
Get:14 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe Sources [633 kB]
|
95
|
+
Get:15 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse Sources [28.1 kB]
|
96
|
+
Get:16 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 Packages [1,969 kB]
|
97
|
+
Get:17 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe arm64 Packages [1,849 kB]
|
98
|
+
Get:18 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted arm64 Packages [3,560 kB]
|
99
|
+
Get:19 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse arm64 Packages [36.9 kB]
|
100
|
+
Get:20 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted Sources [64.7 kB]
|
101
|
+
Get:21 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse Sources [21.3 kB]
|
102
|
+
Get:22 http://ports.ubuntu.com/ubuntu-ports noble-security/universe Sources [408 kB]
|
103
|
+
Get:23 http://ports.ubuntu.com/ubuntu-ports noble-security/main Sources [253 kB]
|
104
|
+
Get:24 http://ports.ubuntu.com/ubuntu-ports noble-security/main arm64 Packages [1,624 kB]
|
105
|
+
Get:25 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse arm64 Packages [35.8 kB]
|
106
|
+
Get:26 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted arm64 Packages [3,435 kB]
|
107
|
+
Get:27 http://ports.ubuntu.com/ubuntu-ports noble-security/universe arm64 Packages [1,122 kB]
|
108
|
+
Fetched 63.8 MB in 8s (8,114 kB/s)
|
109
|
+
Reading package lists...
|
110
|
+
Reading package lists...
|
111
|
+
Building dependency tree...
|
112
|
+
Reading state information...
|
113
|
+
less is already the newest version (590-2ubuntu2.1).
|
114
|
+
git is already the newest version (1:2.43.0-1ubuntu7.3).
|
115
|
+
procps is already the newest version (2:4.0.4-4ubuntu3.2).
|
116
|
+
sudo is already the newest version (1.9.15p5-3ubuntu5.24.04.1).
|
117
|
+
fzf is already the newest version (0.44.1-1ubuntu0.3).
|
118
|
+
zsh is already the newest version (5.9-6ubuntu2).
|
119
|
+
man-db is already the newest version (2.12.0-4build2).
|
120
|
+
unzip is already the newest version (6.0-28ubuntu4.1).
|
121
|
+
gnupg2 is already the newest version (2.4.4-2ubuntu17.3).
|
122
|
+
gh is already the newest version (2.45.0-1ubuntu0.3).
|
123
|
+
iptables is already the newest version (1.8.10-3ubuntu2).
|
124
|
+
ipset is already the newest version (7.19-1ubuntu2).
|
125
|
+
iproute2 is already the newest version (6.1.0-1ubuntu6.2).
|
126
|
+
dnsutils is already the newest version (1:9.18.39-0ubuntu0.24.04.1).
|
127
|
+
aggregate is already the newest version (1.6-7build1).
|
128
|
+
jq is already the newest version (1.7.1-3ubuntu0.24.04.1).
|
129
|
+
nano is already the newest version (7.2-2ubuntu0.1).
|
130
|
+
vim is already the newest version (2:9.1.0016-1ubuntu7.9).
|
131
|
+
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
|
132
|
+
โ
Command 1 completed successfully
|
133
|
+
|
134
|
+
๐ [2/10] mkdir -p /usr/local/share/npm-global && chown -R node:node /usr/local/share
|
135
|
+
๐ Running with sudo (requires root privileges)
|
136
|
+
โ
Command 2 completed successfully
|
137
|
+
|
138
|
+
๐ [3/10] SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/....
|
139
|
+
๐ Running with sudo (requires root privileges)
|
140
|
+
โ
Command 3 completed successfully
|
141
|
+
|
142
|
+
๐ [4/10] mkdir -p /workspace /home/node/.claude && chown -R node:node /workspace /home/n...
|
143
|
+
๐ Running with sudo (requires root privileges)
|
144
|
+
โ
Command 4 completed successfully
|
145
|
+
|
146
|
+
๐ [5/10] ARCH=$(dpkg --print-architecture) && wget "https://github.com/dandavison/delta/...
|
147
|
+
--2025-10-09 19:15:05-- https://github.com/dandavison/delta/releases/download/0.18.2/git-delta_0.18.2_arm64.deb
|
148
|
+
Resolving github.com (github.com)... 20.87.245.0
|
149
|
+
Connecting to github.com (github.com)|20.87.245.0|:443... connected.
|
150
|
+
HTTP request sent, awaiting response... 302 Found
|
151
|
+
Location: https://release-assets.githubusercontent.com/github-production-release-asset/193526915/efd1d245-1d1e-4f19-ac99-0518bf31266d?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-10-09T20%3A10%3A35Z&rscd=attachment%3B+filename%3Dgit-delta_0.18.2_arm64.deb&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-10-09T19%3A09%3A59Z&ske=2025-10-09T20%3A10%3A35Z&sks=b&skv=2018-11-09&sig=9FAvCwr1mWPucB%2FSVzFRstxBP2HxTfn3Bjt5k0Copn4%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc2MDAzNzU2NSwibmJmIjoxNzYwMDM3MjY1LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.oY9L9s_P5ORWk6VDhMpfuDXTQRuez2FO3RW0ls_xets&response-content-disposition=attachment%3B%20filename%3Dgit-delta_0.18.2_arm64.deb&response-content-type=application%2Foctet-stream [following]
|
152
|
+
--2025-10-09 19:15:05-- https://release-assets.githubusercontent.com/github-production-release-asset/193526915/efd1d245-1d1e-4f19-ac99-0518bf31266d?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-10-09T20%3A10%3A35Z&rscd=attachment%3B+filename%3Dgit-delta_0.18.2_arm64.deb&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-10-09T19%3A09%3A59Z&ske=2025-10-09T20%3A10%3A35Z&sks=b&skv=2018-11-09&sig=9FAvCwr1mWPucB%2FSVzFRstxBP2HxTfn3Bjt5k0Copn4%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc2MDAzNzU2NSwibmJmIjoxNzYwMDM3MjY1LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.oY9L9s_P5ORWk6VDhMpfuDXTQRuez2FO3RW0ls_xets&response-content-disposition=attachment%3B%20filename%3Dgit-delta_0.18.2_arm64.deb&response-content-type=application%2Foctet-stream
|
153
|
+
Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ...
|
154
|
+
Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.110.133|:443... connected.
|
155
|
+
HTTP request sent, awaiting response... 200 OK
|
156
|
+
Length: 2292336 (2.2M) [application/octet-stream]
|
157
|
+
Saving to: โgit-delta_0.18.2_arm64.debโ
|
158
|
+
|
159
|
+
0K .......... .......... .......... .......... .......... 2% 13.5M 0s
|
160
|
+
50K .......... .......... .......... .......... .......... 4% 342M 0s
|
161
|
+
100K .......... .......... .......... .......... .......... 6% 389M 0s
|
162
|
+
150K .......... .......... .......... .......... .......... 8% 575M 0s
|
163
|
+
200K .......... .......... .......... .......... .......... 11% 457M 0s
|
164
|
+
250K .......... .......... .......... .......... .......... 13% 531M 0s
|
165
|
+
300K .......... .......... .......... .......... .......... 15% 542M 0s
|
166
|
+
350K .......... .......... .......... .......... .......... 17% 571M 0s
|
167
|
+
400K .......... .......... .......... .......... .......... 20% 309M 0s
|
168
|
+
450K .......... .......... .......... .......... .......... 22% 413M 0s
|
169
|
+
500K .......... .......... .......... .......... .......... 24% 704M 0s
|
170
|
+
550K .......... .......... .......... .......... .......... 26% 321M 0s
|
171
|
+
600K .......... .......... .......... .......... .......... 29% 554M 0s
|
172
|
+
650K .......... .......... .......... .......... .......... 31% 290M 0s
|
173
|
+
700K .......... .......... .......... .......... .......... 33% 544M 0s
|
174
|
+
750K .......... .......... .......... .......... .......... 35% 355M 0s
|
175
|
+
800K .......... .......... .......... .......... .......... 37% 301M 0s
|
176
|
+
850K .......... .......... .......... .......... .......... 40% 558M 0s
|
177
|
+
900K .......... .......... .......... .......... .......... 42% 567M 0s
|
178
|
+
950K .......... .......... .......... .......... .......... 44% 544M 0s
|
179
|
+
1000K .......... .......... .......... .......... .......... 46% 457M 0s
|
180
|
+
1050K .......... .......... .......... .......... .......... 49% 337M 0s
|
181
|
+
1100K .......... .......... .......... .......... .......... 51% 577M 0s
|
182
|
+
1150K .......... .......... .......... .......... .......... 53% 12.6M 0s
|
183
|
+
1200K .......... .......... .......... .......... .......... 55% 470M 0s
|
184
|
+
1250K .......... .......... .......... .......... .......... 58% 560M 0s
|
185
|
+
1300K .......... .......... .......... .......... .......... 60% 159M 0s
|
186
|
+
1350K .......... .......... .......... .......... .......... 62% 343M 0s
|
187
|
+
1400K .......... .......... .......... .......... .......... 64% 401M 0s
|
188
|
+
1450K .......... .......... .......... .......... .......... 67% 365M 0s
|
189
|
+
1500K .......... .......... .......... .......... .......... 69% 565M 0s
|
190
|
+
1550K .......... .......... .......... .......... .......... 71% 410M 0s
|
191
|
+
1600K .......... .......... .......... .......... .......... 73% 549M 0s
|
192
|
+
1650K .......... .......... .......... .......... .......... 75% 564M 0s
|
193
|
+
1700K .......... .......... .......... .......... .......... 78% 560M 0s
|
194
|
+
1750K .......... .......... .......... .......... .......... 80% 446M 0s
|
195
|
+
1800K .......... .......... .......... .......... .......... 82% 439M 0s
|
196
|
+
1850K .......... .......... .......... .......... .......... 84% 564M 0s
|
197
|
+
1900K .......... .......... .......... .......... .......... 87% 311M 0s
|
198
|
+
1950K .......... .......... .......... .......... .......... 89% 562M 0s
|
199
|
+
2000K .......... .......... .......... .......... .......... 91% 558M 0s
|
200
|
+
2050K .......... .......... .......... .......... .......... 93% 543M 0s
|
201
|
+
2100K .......... .......... .......... .......... .......... 96% 578M 0s
|
202
|
+
2150K .......... .......... .......... .......... .......... 98% 518M 0s
|
203
|
+
2200K .......... .......... .......... ........ 100% 474M=0.01s
|
204
|
+
|
205
|
+
2025-10-09 19:15:06 (178 MB/s) - โgit-delta_0.18.2_arm64.debโ saved [2292336/2292336]
|
206
|
+
|
207
|
+
(Reading database ... 42342 files and directories currently installed.)
|
208
|
+
Preparing to unpack git-delta_0.18.2_arm64.deb ...
|
209
|
+
Unpacking git-delta (0.18.2) over (0.18.2) ...
|
210
|
+
Setting up git-delta (0.18.2) ...
|
211
|
+
โ
Command 5 completed successfully
|
212
|
+
|
213
|
+
๐ [6/10] sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v${Z...
|
214
|
+
๐ค Running as user: node
|
215
|
+
--2025-10-09 19:15:06-- https://github.com/deluan/zsh-in-docker/releases/download/v1.2.0/zsh-in-docker.sh
|
216
|
+
Resolving github.com (github.com)... 20.87.245.0
|
217
|
+
Connecting to github.com (github.com)|20.87.245.0|:443... connected.
|
218
|
+
HTTP request sent, awaiting response... 302 Found
|
219
|
+
Location: https://release-assets.githubusercontent.com/github-production-release-asset/207162804/8afe1b92-7364-41b9-9e24-1c704ccf220d?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-10-09T20%3A08%3A54Z&rscd=attachment%3B+filename%3Dzsh-in-docker.sh&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-10-09T19%3A08%3A27Z&ske=2025-10-09T20%3A08%3A54Z&sks=b&skv=2018-11-09&sig=FvhpWjHByLsSU9xBPzY%2FOSCgOg3IcIzHceb5%2FBYeMds%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc2MDAzNzU2NiwibmJmIjoxNzYwMDM3MjY2LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.Jcpk4JtidBSyvuBSRqpOK5B0HRHUkbtt_xuhKZTFavo&response-content-disposition=attachment%3B%20filename%3Dzsh-in-docker.sh&response-content-type=application%2Foctet-stream [following]
|
220
|
+
--2025-10-09 19:15:06-- https://release-assets.githubusercontent.com/github-production-release-asset/207162804/8afe1b92-7364-41b9-9e24-1c704ccf220d?sp=r&sv=2018-11-09&sr=b&spr=https&se=2025-10-09T20%3A08%3A54Z&rscd=attachment%3B+filename%3Dzsh-in-docker.sh&rsct=application%2Foctet-stream&skoid=96c2d410-5711-43a1-aedd-ab1947aa7ab0&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skt=2025-10-09T19%3A08%3A27Z&ske=2025-10-09T20%3A08%3A54Z&sks=b&skv=2018-11-09&sig=FvhpWjHByLsSU9xBPzY%2FOSCgOg3IcIzHceb5%2FBYeMds%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc2MDAzNzU2NiwibmJmIjoxNzYwMDM3MjY2LCJwYXRoIjoicmVsZWFzZWFzc2V0cHJvZHVjdGlvbi5ibG9iLmNvcmUud2luZG93cy5uZXQifQ.Jcpk4JtidBSyvuBSRqpOK5B0HRHUkbtt_xuhKZTFavo&response-content-disposition=attachment%3B%20filename%3Dzsh-in-docker.sh&response-content-type=application%2Foctet-stream
|
221
|
+
Resolving release-assets.githubusercontent.com (release-assets.githubusercontent.com)... 185.199.108.133, 185.199.110.133, 185.199.109.133, ...
|
222
|
+
Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.108.133|:443... connected.
|
223
|
+
HTTP request sent, awaiting response... 200 OK
|
224
|
+
Length: 5426 (5.3K) [application/octet-stream]
|
225
|
+
Saving to: โSTDOUTโ
|
226
|
+
|
227
|
+
0K ..... 100% 84.5M=0s
|
228
|
+
|
229
|
+
2025-10-09 19:15:06 (84.5 MB/s) - written to stdout [5426/5426]
|
230
|
+
|
231
|
+
|
232
|
+
Installing Oh-My-Zsh with:
|
233
|
+
THEME = default
|
234
|
+
PLUGINS = git fzf
|
235
|
+
|
236
|
+
% Total % Received % Xferd Average Speed Time Time Time Current
|
237
|
+
Dload Upload Total Spent Left Speed
|
238
|
+
|
239
|
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
|
1
240
|
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
|
241
|
+
Cloning Oh My Zsh...
|
242
|
+
From https://github.com/ohmyzsh/ohmyzsh
|
243
|
+
* [new branch] master -> origin/master
|
244
|
+
Already on 'master'
|
245
|
+
branch 'master' set up to track 'origin/master'.
|
246
|
+
/tmp
|
247
|
+
|
248
|
+
Looking for an existing zsh config...
|
249
|
+
Found old .zshrc.pre-oh-my-zsh. Backing up to /home/node/.zshrc.pre-oh-my-zsh-2025-10-09_19-15-07
|
250
|
+
Backing up to /home/node/.zshrc.pre-oh-my-zsh
|
251
|
+
Using the Oh My Zsh template file and adding it to /home/node/.zshrc.
|
252
|
+
|
253
|
+
__ __
|
254
|
+
____ / /_ ____ ___ __ __ ____ _____/ /_
|
255
|
+
/ __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \
|
256
|
+
/ /_/ / / / / / / / / / / /_/ / / /_(__ ) / / /
|
257
|
+
\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/
|
258
|
+
/____/ ....is now installed!
|
259
|
+
|
260
|
+
|
261
|
+
Before you scream Oh My Zsh! look over the `.zshrc` file to select plugins, themes, and options.
|
262
|
+
|
263
|
+
โข Follow us on X: https://x.com/ohmyzsh
|
264
|
+
โข Join our Discord community: https://discord.gg/ohmyzsh
|
265
|
+
โข Get stickers, t-shirts, coffee mugs and more: https://shop.planetargon.com/collections/oh-my-zsh
|
266
|
+
|
267
|
+
Run zsh to try it out.
|
268
|
+
Cloning into '/home/node/.oh-my-zsh/custom/themes/powerlevel10k'...
|
269
|
+
โ
Command 6 completed successfully
|
270
|
+
|
271
|
+
๐ [7/10] npm install -g @anthropic-ai/claude-code@${CLAUDE_CODE_VERSION}
|
272
|
+
๐ Running with sudo (requires root privileges)
|
273
|
+
|
274
|
+
changed 3 packages in 3s
|
275
|
+
|
276
|
+
2 packages are looking for funding
|
277
|
+
run `npm fund` for details
|
278
|
+
โ
Command 7 completed successfully
|
279
|
+
|
280
|
+
๐ [8/10] npx --yes playwright install-deps
|
281
|
+
๐ Running with sudo (requires root privileges)
|
282
|
+
Installing dependencies...
|
283
|
+
Get:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease [256 kB]
|
284
|
+
Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
|
285
|
+
Get:3 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
|
286
|
+
Get:4 http://ports.ubuntu.com/ubuntu-ports noble/restricted Sources [21.8 kB]
|
287
|
+
Get:5 http://ports.ubuntu.com/ubuntu-ports noble/main Sources [1,713 kB]
|
288
|
+
Get:6 http://ports.ubuntu.com/ubuntu-ports noble/universe Sources [24.3 MB]
|
289
|
+
Get:7 http://ports.ubuntu.com/ubuntu-ports noble/multiverse Sources [355 kB]
|
290
|
+
Get:8 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 Packages [19.0 MB]
|
291
|
+
Get:9 http://ports.ubuntu.com/ubuntu-ports noble/restricted arm64 Packages [113 kB]
|
292
|
+
Get:10 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 Packages [1,776 kB]
|
293
|
+
Get:11 http://ports.ubuntu.com/ubuntu-ports noble/multiverse arm64 Packages [274 kB]
|
294
|
+
Get:12 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted Sources [70.8 kB]
|
295
|
+
Get:13 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse Sources [28.1 kB]
|
296
|
+
Get:14 http://ports.ubuntu.com/ubuntu-ports noble-updates/main Sources [583 kB]
|
297
|
+
Get:15 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe Sources [633 kB]
|
298
|
+
Get:16 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted arm64 Packages [3,560 kB]
|
299
|
+
Get:17 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 Packages [1,969 kB]
|
300
|
+
Get:18 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe arm64 Packages [1,849 kB]
|
301
|
+
Get:19 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse arm64 Packages [36.9 kB]
|
302
|
+
Get:20 http://ports.ubuntu.com/ubuntu-ports noble-security/universe Sources [408 kB]
|
303
|
+
Get:21 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted Sources [64.7 kB]
|
304
|
+
Get:22 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse Sources [21.3 kB]
|
305
|
+
Get:23 http://ports.ubuntu.com/ubuntu-ports noble-security/main Sources [253 kB]
|
306
|
+
Get:24 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse arm64 Packages [35.8 kB]
|
307
|
+
Get:25 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted arm64 Packages [3,435 kB]
|
308
|
+
Get:26 http://ports.ubuntu.com/ubuntu-ports noble-security/main arm64 Packages [1,624 kB]
|
309
|
+
Get:27 http://ports.ubuntu.com/ubuntu-ports noble-security/universe arm64 Packages [1,122 kB]
|
310
|
+
Fetched 63.8 MB in 5min 56s (179 kB/s)
|
311
|
+
Reading package lists...
|
312
|
+
Reading package lists...
|
313
|
+
Building dependency tree...
|
314
|
+
Reading state information...
|
315
|
+
libasound2t64 is already the newest version (1.2.11-1ubuntu0.1).
|
316
|
+
libatk-bridge2.0-0t64 is already the newest version (2.52.0-1build1).
|
317
|
+
libatk1.0-0t64 is already the newest version (2.52.0-1build1).
|
318
|
+
libatspi2.0-0t64 is already the newest version (2.52.0-1build1).
|
319
|
+
libcairo2 is already the newest version (1.18.0-3build1).
|
320
|
+
libcups2t64 is already the newest version (2.4.7-1.2ubuntu7.4).
|
321
|
+
libdbus-1-3 is already the newest version (1.14.10-4ubuntu4.1).
|
322
|
+
libdrm2 is already the newest version (2.4.122-1~ubuntu0.24.04.1).
|
323
|
+
libgbm1 is already the newest version (25.0.7-0ubuntu0.24.04.2).
|
324
|
+
libglib2.0-0t64 is already the newest version (2.80.0-6ubuntu3.4).
|
325
|
+
libnspr4 is already the newest version (2:4.35-1.1build1).
|
326
|
+
libnss3 is already the newest version (2:3.98-1build1).
|
327
|
+
libpango-1.0-0 is already the newest version (1.52.1+ds-1build1).
|
328
|
+
libx11-6 is already the newest version (2:1.8.7-1build1).
|
329
|
+
libxcb1 is already the newest version (1.15-1ubuntu2).
|
330
|
+
libxcomposite1 is already the newest version (1:0.4.5-1build3).
|
331
|
+
libxdamage1 is already the newest version (1:1.1.6-1build1).
|
332
|
+
libxext6 is already the newest version (2:1.3.4-1build2).
|
333
|
+
libxfixes3 is already the newest version (1:6.0.0-2build1).
|
334
|
+
libxkbcommon0 is already the newest version (1.6.0-1build1).
|
335
|
+
libxrandr2 is already the newest version (2:1.5.2-2build1).
|
336
|
+
libcairo-gobject2 is already the newest version (1.18.0-3build1).
|
337
|
+
libfontconfig1 is already the newest version (2.15.0-1.1ubuntu2).
|
338
|
+
libfreetype6 is already the newest version (2.13.2+dfsg-1build3).
|
339
|
+
libgdk-pixbuf-2.0-0 is already the newest version (2.42.10+dfsg-3ubuntu3.2).
|
340
|
+
libgtk-3-0t64 is already the newest version (3.24.41-4ubuntu1.3).
|
341
|
+
libpangocairo-1.0-0 is already the newest version (1.52.1+ds-1build1).
|
342
|
+
libx11-xcb1 is already the newest version (2:1.8.7-1build1).
|
343
|
+
libxcb-shm0 is already the newest version (1.15-1ubuntu2).
|
344
|
+
libxcursor1 is already the newest version (1:1.2.1-1build1).
|
345
|
+
libxi6 is already the newest version (2:1.8.1-1build1).
|
346
|
+
libxrender1 is already the newest version (1:0.9.10-1.1build1).
|
347
|
+
gstreamer1.0-libav is already the newest version (1.24.1-1build1).
|
348
|
+
gstreamer1.0-plugins-bad is already the newest version (1.24.2-1ubuntu4).
|
349
|
+
gstreamer1.0-plugins-base is already the newest version (1.24.2-1ubuntu0.3).
|
350
|
+
gstreamer1.0-plugins-good is already the newest version (1.24.2-1ubuntu1.2).
|
351
|
+
libicu74 is already the newest version (74.2-1ubuntu3.1).
|
352
|
+
libatomic1 is already the newest version (14.2.0-4ubuntu2~24.04).
|
353
|
+
libenchant-2-2 is already the newest version (2.3.3-2build2).
|
354
|
+
libepoxy0 is already the newest version (1.5.10-1build1).
|
355
|
+
libevent-2.1-7t64 is already the newest version (2.1.12-stable-9ubuntu2).
|
356
|
+
libflite1 is already the newest version (2.2-6build3).
|
357
|
+
libgles2 is already the newest version (1.7.0-1build1).
|
358
|
+
libgstreamer-gl1.0-0 is already the newest version (1.24.2-1ubuntu0.3).
|
359
|
+
libgstreamer-plugins-bad1.0-0 is already the newest version (1.24.2-1ubuntu4).
|
360
|
+
libgstreamer-plugins-base1.0-0 is already the newest version (1.24.2-1ubuntu0.3).
|
361
|
+
libgstreamer1.0-0 is already the newest version (1.24.2-1ubuntu0.1).
|
362
|
+
libgtk-4-1 is already the newest version (4.14.5+ds-0ubuntu0.5).
|
363
|
+
libharfbuzz-icu0 is already the newest version (8.3.0-2build2).
|
364
|
+
libharfbuzz0b is already the newest version (8.3.0-2build2).
|
365
|
+
libhyphen0 is already the newest version (2.8.8-7build3).
|
366
|
+
libjpeg-turbo8 is already the newest version (2.1.5-2ubuntu2).
|
367
|
+
liblcms2-2 is already the newest version (2.14-2build1).
|
368
|
+
libmanette-0.2-0 is already the newest version (0.2.7-1build2).
|
369
|
+
libopus0 is already the newest version (1.4-1build1).
|
370
|
+
libpng16-16t64 is already the newest version (1.6.43-5build1).
|
371
|
+
libsecret-1-0 is already the newest version (0.21.4-1build3).
|
372
|
+
libvpx9 is already the newest version (1.14.0-1ubuntu2.2).
|
373
|
+
libwayland-client0 is already the newest version (1.22.0-2.1build1).
|
374
|
+
libwayland-egl1 is already the newest version (1.22.0-2.1build1).
|
375
|
+
libwayland-server0 is already the newest version (1.22.0-2.1build1).
|
376
|
+
libwebp7 is already the newest version (1.3.2-0.4build3).
|
377
|
+
libwebpdemux2 is already the newest version (1.3.2-0.4build3).
|
378
|
+
libwoff1 is already the newest version (1.0.2-2build1).
|
379
|
+
libxml2 is already the newest version (2.9.14+dfsg-1.3ubuntu3.5).
|
380
|
+
libxslt1.1 is already the newest version (1.1.39-0exp1ubuntu0.24.04.2).
|
381
|
+
libx264-164 is already the newest version (2:0.164.3108+git31e19f9-1).
|
382
|
+
libavif16 is already the newest version (1.0.4-1ubuntu3).
|
383
|
+
xvfb is already the newest version (2:21.1.12-1ubuntu1.4).
|
384
|
+
fonts-noto-color-emoji is already the newest version (2.047-0ubuntu0.24.04.1).
|
385
|
+
fonts-unifont is already the newest version (1:15.1.01-1build1).
|
386
|
+
xfonts-cyrillic is already the newest version (1:1.0.5+nmu1).
|
387
|
+
xfonts-scalable is already the newest version (1:1.0.3-1.3).
|
388
|
+
fonts-liberation is already the newest version (1:2.1.5-3).
|
389
|
+
fonts-ipafont-gothic is already the newest version (00303-21ubuntu1).
|
390
|
+
fonts-wqy-zenhei is already the newest version (0.9.45-8).
|
391
|
+
fonts-tlwg-loma-otf is already the newest version (1:0.7.3-1).
|
392
|
+
fonts-freefont-ttf is already the newest version (20211204+svn4273-2).
|
393
|
+
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
|
394
|
+
โ
Command 8 completed successfully
|
395
|
+
|
396
|
+
๐ [9/10] npm i -g @playwright/mcp
|
397
|
+
๐ Running with sudo (requires root privileges)
|
398
|
+
|
399
|
+
added 3 packages in 3s
|
400
|
+
โ
Command 9 completed successfully
|
401
|
+
|
402
|
+
๐ [10/10] chmod +x /usr/local/bin/init-firewall.sh && echo "node ALL=(root) NOPASSWD: /us...
|
403
|
+
๐ Running with sudo (requires root privileges)
|
404
|
+
โ
Command 10 completed successfully
|
405
|
+
|
406
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
407
|
+
|
408
|
+
๐ Build completed successfully!
|
409
|
+
|
410
|
+
๐ฆ Container root: sandboxbox-sandbox/rootfs
|
411
|
+
๐ Build script: sandboxbox-sandbox/build.sh
|
412
|
+
|
package/package.json
CHANGED
@@ -0,0 +1,83 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
set -e
|
3
|
+
|
4
|
+
# Build script generated from Dockerfile
|
5
|
+
# Base image: node:20
|
6
|
+
# Total commands: 10
|
7
|
+
|
8
|
+
echo "๐๏ธ Starting build process..."
|
9
|
+
echo ""
|
10
|
+
|
11
|
+
|
12
|
+
# Command 1/10
|
13
|
+
echo "โ๏ธ [1/10] Executing: apt-get update && apt-get install -y --no-install-recommends..."
|
14
|
+
|
15
|
+
apt-get update && apt-get install -y --no-install-recommends less git procps sudo fzf zsh man-db unzip gnupg2 gh iptables ipset iproute2 dnsutils aggregate jq nano vim && apt-get clean && rm -rf /var/lib/apt/lists/*
|
16
|
+
echo " โ
Command 1 completed"
|
17
|
+
echo ""
|
18
|
+
|
19
|
+
# Command 2/10
|
20
|
+
echo "โ๏ธ [2/10] Executing: mkdir -p /usr/local/share/npm-global && chown -R node:node ..."
|
21
|
+
|
22
|
+
mkdir -p /usr/local/share/npm-global && chown -R node:node /usr/local/share
|
23
|
+
echo " โ
Command 2 completed"
|
24
|
+
echo ""
|
25
|
+
|
26
|
+
# Command 3/10
|
27
|
+
echo "โ๏ธ [3/10] Executing: SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFI..."
|
28
|
+
|
29
|
+
SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" && mkdir -p /commandhistory && touch /commandhistory/.bash_history && chown -R $USERNAME /commandhistory
|
30
|
+
echo " โ
Command 3 completed"
|
31
|
+
echo ""
|
32
|
+
|
33
|
+
# Command 4/10
|
34
|
+
echo "โ๏ธ [4/10] Executing: mkdir -p /workspace /home/node/.claude && chown -R node:nod..."
|
35
|
+
|
36
|
+
mkdir -p /workspace /home/node/.claude && chown -R node:node /workspace /home/node/.claude
|
37
|
+
echo " โ
Command 4 completed"
|
38
|
+
echo ""
|
39
|
+
|
40
|
+
# Command 5/10
|
41
|
+
echo "โ๏ธ [5/10] Executing: ARCH=$(dpkg --print-architecture) && wget "https://github.c..."
|
42
|
+
|
43
|
+
ARCH=$(dpkg --print-architecture) && wget "https://github.com/dandavison/delta/releases/download/${GIT_DELTA_VERSION}/git-delta_${GIT_DELTA_VERSION}_${ARCH}.deb" && sudo dpkg -i "git-delta_${GIT_DELTA_VERSION}_${ARCH}.deb" && rm "git-delta_${GIT_DELTA_VERSION}_${ARCH}.deb"
|
44
|
+
echo " โ
Command 5 completed"
|
45
|
+
echo ""
|
46
|
+
|
47
|
+
# Command 6/10
|
48
|
+
echo "โ๏ธ [6/10] Executing: sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/re..."
|
49
|
+
# Running as user: node
|
50
|
+
sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v${ZSH_IN_DOCKER_VERSION}/zsh-in-docker.sh)" -- -p git -p fzf -a "source /usr/share/doc/fzf/examples/key-bindings.zsh" -a "source /usr/share/doc/fzf/examples/completion.zsh" -a "export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" -x
|
51
|
+
echo " โ
Command 6 completed"
|
52
|
+
echo ""
|
53
|
+
|
54
|
+
# Command 7/10
|
55
|
+
echo "โ๏ธ [7/10] Executing: npm install -g @anthropic-ai/claude-code@${CLAUDE_CODE_VERSI..."
|
56
|
+
# Running as user: node
|
57
|
+
npm install -g @anthropic-ai/claude-code@${CLAUDE_CODE_VERSION}
|
58
|
+
echo " โ
Command 7 completed"
|
59
|
+
echo ""
|
60
|
+
|
61
|
+
# Command 8/10
|
62
|
+
echo "โ๏ธ [8/10] Executing: npx --yes playwright install-deps..."
|
63
|
+
# Running as user: node
|
64
|
+
npx --yes playwright install-deps
|
65
|
+
echo " โ
Command 8 completed"
|
66
|
+
echo ""
|
67
|
+
|
68
|
+
# Command 9/10
|
69
|
+
echo "โ๏ธ [9/10] Executing: npm i -g @playwright/mcp..."
|
70
|
+
# Running as user: node
|
71
|
+
npm i -g @playwright/mcp
|
72
|
+
echo " โ
Command 9 completed"
|
73
|
+
echo ""
|
74
|
+
|
75
|
+
# Command 10/10
|
76
|
+
echo "โ๏ธ [10/10] Executing: chmod +x /usr/local/bin/init-firewall.sh && echo "node ALL=..."
|
77
|
+
|
78
|
+
chmod +x /usr/local/bin/init-firewall.sh && echo "node ALL=(root) NOPASSWD: /usr/local/bin/init-firewall.sh" > /etc/sudoers.d/node-firewall && chmod 0440 /etc/sudoers.d/node-firewall
|
79
|
+
echo " โ
Command 10 completed"
|
80
|
+
echo ""
|
81
|
+
|
82
|
+
|
83
|
+
echo "โ
Build complete!"
|