Spaces:
Build error
Build error
| # Use the official Ubuntu image as a base image | |
| FROM ubuntu:latest | |
| # Set the working directory (optional) | |
| WORKDIR /root | |
| # Update the package list and install necessary packages | |
| RUN apt-get update | |
| RUN sudo | |
| # Run the whoami command as root | |
| CMD ["whoami"] | |