FROM ubuntu:latest # Update package list and install dependencies RUN apt-get update && apt-get install -y \ pandoc \ libgtk2.0-0t64 \ libgtk-3-0t64 \ libgbm-dev \ libnotify-dev \ libnss3 \ libxss1 \ libasound2t64 \ libxtst6 \ xauth \ xvfb \ curl \ wget \ gnupg \ git \ unzip \ jq \ && rm -rf /var/lib/apt/lists/* # Install Node.js 24.7.0 RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - \ && apt-get install -y nodejs=24.7.0-1nodesource1 # Install pnpm 10.15.0 RUN npm install -g pnpm@10.15.0 # Install AWS CLI RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ && unzip -qq awscliv2.zip \ && ./aws/install -i /usr/local/aws-cli -b /usr/local/bin \ && rm -rf awscliv2.zip aws/ # Install Chrome RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \ && echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \ && apt-get update \ && apt-get install -y google-chrome-stable \ && rm -rf /var/lib/apt/lists/* # Set display for headless Chrome ENV DISPLAY=:99 WORKDIR /workspace