edwagbb commited on
Commit
33bbfe6
verified
1 Parent(s): 5556b70

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # 浣跨敤CentOS闀滃儚浣滀负鍩虹闀滃儚
2
+ FROM centos:latest
3
+ RUN yum -y install sudo passwd
4
+ RUN useradd -m -u 1001 admin
5
+ RUN echo 'admin:pass' | chpasswd
6
+ WORKDIR /home/admin
7
+ CMD whoami