This commit is contained in:
Shawn Wallace 2025-03-12 18:50:33 -04:00
parent eab4adc991
commit 0325cb1f48
2 changed files with 98 additions and 0 deletions

14
.github/workflows/ubuntu.dockerfile vendored Normal file
View file

@ -0,0 +1,14 @@
FROM ubuntu:24.04
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Etc/UTC
ENV CARGO_HOME=/cargo RUSTUP_HOME=/rustup
RUN apt-get update \
&& apt-get install -y xwayland libxcb1 clang libxcb-cursor0 libxcb-cursor-dev curl pkg-config libegl1 \
&& rm -r /var/lib/apt/lists/*
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
&& . "/cargo/env" \
&& rustup toolchain install stable \
&& rustup default stable
RUN mkdir /run/xwls-test
ENV PATH="/cargo/bin:$PATH" XDG_RUNTIME_DIR="/run/xwls-test"