initial commit with basic level 0 on single machine

This commit is contained in:
River
2025-11-03 23:56:51 -06:00
commit 2490c01701
3 changed files with 27 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ARG levelNum=0
RUN <<EOF
useradd -m -s /bin/bash player${levelNum}
echo 'root:superSecretRootPassword' | chpasswd
echo "player${levelNum}:superSecretPlayerPassword${levelNum}" | chpasswd
EOF
COPY ./levels/level${levelNum} /home/player$levelNum
USER player${levelNum}
WORKDIR /home/player$levelNum
CMD /bin/bash

6
compose.yaml Normal file
View File

@@ -0,0 +1,6 @@
services:
ubuntu:
build: .
hostname: uactf
command: ["tail", "-f", "/dev/null"]
restart: unless-stopped

1
levels/level0/readme.txt Normal file
View File

@@ -0,0 +1 @@
{f14g}