@@ -14,9 +14,9 @@ import { Template, waitForPort } from 'e2b'
1414export const template = Template ()
1515 .fromUbuntuImage (' 22.04' )
1616 // Install SSH server and websocat for WebSocket proxying
17- .aptInstall ([' openssh-server' , ' wget ' ])
17+ .aptInstall ([' openssh-server' , ' curl ' ])
1818 .runCmd ([
19- ' wget -qO /usr/local/bin/websocat https://github.com/vi/websocat/releases/latest/download/websocat.x86_64-unknown-linux-musl' ,
19+ ' curl -fsSL -o /usr/local/bin/websocat https://github.com/vi/websocat/releases/latest/download/websocat.x86_64-unknown-linux-musl' ,
2020 ' chmod a+x /usr/local/bin/websocat' ,
2121 ])
2222 // Configure SSH with password authentication
@@ -37,9 +37,9 @@ template = (
3737 Template()
3838 .from_ubuntu_image(" 22.04" )
3939 # Install SSH server and websocat for WebSocket proxying
40- .apt_install([" openssh-server" , " wget " ])
40+ .apt_install([" openssh-server" , " curl " ])
4141 .run_cmd([
42- " wget -qO /usr/local/bin/websocat https://github.com/vi/websocat/releases/latest/download/websocat.x86_64-unknown-linux-musl" ,
42+ " curl -fsSL -o /usr/local/bin/websocat https://github.com/vi/websocat/releases/latest/download/websocat.x86_64-unknown-linux-musl" ,
4343 " chmod a+x /usr/local/bin/websocat" ,
4444 ])
4545 # Configure SSH with password authentication
0 commit comments