Spaces:
Build error
Build error
Create Dockerfile
Browse files- Dockerfile +9 -0
Dockerfile
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Use the official Ubuntu image as a base image
|
| 2 |
+
FROM ubuntu:latest
|
| 3 |
+
|
| 4 |
+
# Update the package list and install necessary packages
|
| 5 |
+
RUN apt-get update && apt-get install -y \
|
| 6 |
+
sudo
|
| 7 |
+
|
| 8 |
+
# Run the whoami command as root
|
| 9 |
+
CMD ["whoami"]
|