mirror of
https://github.com/hohn/codeql-sample-polkit.git
synced 2025-12-16 05:43:04 +01:00
14 lines
246 B
Docker
14 lines
246 B
Docker
FROM ubuntu:jammy
|
|
|
|
RUN apt update && apt install openssh-server sudo -y
|
|
|
|
RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1000 test
|
|
|
|
RUN echo 'test:test' | chpasswd
|
|
|
|
RUN service ssh start
|
|
|
|
EXPOSE 22
|
|
|
|
CMD ["/usr/sbin/sshd","-D"]
|