Update Dockerfile

This commit is contained in:
Justin Hammond 2024-07-27 01:34:14 +08:00 committed by GitHub
parent 75ca235e91
commit 9d1b116e6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,3 +1,3 @@
FROM riscv64/ubuntu
RUN apt update && apt upgrade -y && apt install -y sudo && echo "ALL ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers
COPY sudo /etc/pam.d/
FROM riscv64/ubuntu:24.10
RUN apt update && apt upgrade -y
RUN echo 'root:riscv' | chpasswd