Skip to content

Commit

Permalink
update: add user ubuntu (#11)
Browse files Browse the repository at this point in the history
* update: add user ubuntu

* update: add user ubuntu

* update: add user ubuntu

---------

Co-authored-by: moore.su <[email protected]>
  • Loading branch information
sulin0594 and Moore2323 authored Nov 30, 2023
1 parent 3501129 commit 8a941bf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions base-chrome/Dockerfile.vnc.chrome
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
FROM ubuntu:20.04

RUN groupadd -g 1000 ubuntu
RUN useradd -g ubuntu ubuntu
RUN mkdir -p /home/ubuntu && chown -R ubuntu:ubuntu /home/ubuntu
RUN echo 'ubuntu ALL=(ALL) NOPASSWD:ALL'>>/etc/sudoers

#Essential tools and xvfb
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
software-properties-common \
Expand Down

0 comments on commit 8a941bf

Please sign in to comment.