Rebuilt from the exact zed-industries/zed @ 8c74db00c4053d6c0a9037863d7bd048658da4ca tree (previous orphan was based on a stale/wrong fetch). Same 3-file patch: - serial.rs: add SerialKind::KeyboardEnter - client.rs: store wl_keyboard.enter serial; add latest_serial_of() - window.rs: activate() uses keyboard-enter serial (Mutter focus gate) 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
|