Ctrl K
ComunidadGuías…

Dockerfile.linux-test

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
FROM ubuntu:24.04

# Install dependencies
RUN apt-get update && apt-get install -y \
    gcc \
    g++ \
    libgtk-3-dev \
    libwebkit2gtk-4.1-dev \
    libayatana-appindicator3-dev \
    librsvg2-dev \
    libasound2-dev \
    libfreetype-dev \
    libfontconfig-dev \
    patchelf \
    xdg-utils \
    curl \
    wget \
    file \
    desktop-file-utils \
    && rm -rf /var/lib/apt/lists/*

# Install Rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"

# Install Node.js
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
    apt-get install -y nodejs && \
    corepack enable && \
    corepack prepare yarn@1.22.22 --activate

WORKDIR /app

# Copy test script
COPY scripts/test-linux-build.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/test-linux-build.sh

ENTRYPOINT ["test-linux-build.sh"]