Files
lxcafe/post_installation_script_test/Dockerfile
T

13 lines
435 B
Docker

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"]