FROM ubuntu:22.04

# Install required utilities including sudo
RUN apt-get update && apt-get install -y --no-install-recommends \
    bash wget tar curl gnupg ca-certificates apt-utils apt coreutils file procps sudo && \
    apt-get clean && rm -rf /var/lib/apt/lists/*

# Configure passwordless sudo for all users (needed for script)
RUN echo 'ALL ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers

WORKDIR /workspace
ENTRYPOINT ["/bin/bash"]
