Includes prior-session patches (carry forward so the app compiles): - crates/gpui/build.rs: cross-compile manifest fix - crates/gpui/src/platform.rs: PlatformWindow::activate_with_token trait method - crates/gpui/src/window.rs: Window::activate_with_token public API - crates/gpui_linux/src/linux/wayland/window.rs: WaylandWindow::activate_with_token + activate() keyboard-serial fix Plus the focus-serial fix: - serial.rs: SerialKind::KeyboardEnter - client.rs: store wl_keyboard.enter serial; latest_serial_of() Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
22 lines
646 B
Docker
22 lines
646 B
Docker
ARG NAMESPACE_BASE_IMAGE_REF=""
|
|
|
|
# Your image must build FROM NAMESPACE_BASE_IMAGE_REF
|
|
FROM ${NAMESPACE_BASE_IMAGE_REF} AS base
|
|
|
|
# Remove problematic git-lfs packagecloud source
|
|
RUN sudo rm -f /etc/apt/sources.list.d/*git-lfs*.list
|
|
# Install git and SSH for cloning private repositories
|
|
RUN sudo apt-get update && \
|
|
sudo apt-get install -y git openssh-client
|
|
|
|
# Clone the Zed repository
|
|
RUN git clone https://github.com/zed-industries/zed.git ~/zed
|
|
|
|
# Run the Linux installation script
|
|
WORKDIR /home/runner/zed
|
|
RUN ./script/linux
|
|
|
|
# Clean up unnecessary files to reduce image size
|
|
RUN sudo apt-get clean && sudo rm -rf \
|
|
/home/runner/zed
|