@@ -171,25 +171,16 @@ export async function handleDemoRequest(
171171 const image = modal . images
172172 . fromRegistry ( "ubuntu:24.04" )
173173 . dockerfileCommands ( [
174- "RUN apt-get update && apt-get install -y bash curl git htop mpv ca-certificates && rm -rf /var/lib/apt/lists/*" ,
174+ "RUN apt-get update && apt-get install -y curl htop mpv ca-certificates && rm -rf /var/lib/apt/lists/*" ,
175175 `RUN curl -fsSL ${ BLIT_DEB_URL } -o /tmp/blit.deb && dpkg -i /tmp/blit.deb && rm /tmp/blit.deb` ,
176- "RUN curl -fsSL https://opencode.ai/install | bash && ln -sf /root/.opencode/bin/opencode /usr/local/bin/opencode" ,
177- // Pre-run opencode to trigger one-time database migration during image build
178- "RUN opencode providers list > /dev/null 2>&1 || true" ,
179176 "RUN mkdir -p /home/blit" ,
180177 ] ) ;
181178
182179 const startupScript = [
183180 "set -e" ,
184181 `curl -sfL -o /home/blit/parrot.gif '${ PARROT_GIF_URL } '` ,
185- 'git config --global user.email "demo@example.com"' ,
186- 'git config --global user.name "Demo"' ,
187- "git init /home/blit/project" ,
188- 'cd /home/blit/project && echo "# Project" > README.md && git add -A && git commit -m init' ,
189182 'blit share --passphrase "$BLIT_NONCE" &' ,
190183 "sleep 2" ,
191- "blit start -t bash -- bash" ,
192- "blit start -t opencode -- opencode --model opencode/gpt-5-nano /home/blit/project" ,
193184 "blit start -t htop -- htop" ,
194185 "blit start -t parrot -- mpv --vo=tct --no-osd-bar --osd-level=0 --no-terminal --loop=inf /home/blit/parrot.gif" ,
195186 "wait" ,
0 commit comments