Initial public release of Warp.

Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b
This commit is contained in:
David Stern
2026-04-28 08:43:33 -05:00
commit 0dbd3d567a
4982 changed files with 1431549 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
FROM ubuntu:latest
# Install basic dependencies for testing. git and curl are added so we can install rust/Cargo and
# clone the warp-internal repo to simulate more realistic development scenarios.
RUN apt update && apt install openssh-server sudo zsh fish xxd git curl vim -y
RUN sudo echo `which fish` >> /etc/shells
RUN useradd -rm -d /home/bash -s /bin/bash -g root -G sudo -u 1000 bash
RUN useradd -rm -d /home/zsh -s /bin/zsh -g root -G sudo -u 1001 zsh
RUN useradd -rm -d /home/fish -s `which fish` -g root -G sudo -u 1002 fish
RUN echo 'bash:password' | chpasswd
RUN echo 'zsh:password' | chpasswd
RUN service ssh start
EXPOSE 22
CMD ["/usr/sbin/sshd","-D"]
+16
View File
@@ -0,0 +1,16 @@
# Testing Warp Functionality over SSH
## Pre-req: Install Docker
1. `brew install --cask docker`
2. Open the Docker desktop app. This is necessary to create the symbolic links that will make the `docker` CLI available.
## Running Warp over SSH
There's a workflow called "Build image and start container for SSH testing" in this repo. After that, you may SSH in by running bash@0.0.0.0 or zsh@0.0.0.0. It'll prompt for a password which is `password` for these VMs.
After you've built the image, you can just launch the container again with the second command in the workflow.
Note that you can only have one docker container in your system that has port 22.
## More advanced use
Sometimes SSH users have issues based on their SSH server configs which is usually `/etc/ssh/sshd_config` (this is also the case in Ubuntu, which the Dockerfile in this repo uses). If you need to edit it, you'll have to reboot the SSH daemon afterwards to have the changes reflected with `sudo service ssh restart`. This will cause the container to be stopped, and you'll have to
restart it in the Docker Desktop app (click the play button) in order to restart it with the new config.