BinaryONe commited on
Commit
ca1110e
·
1 Parent(s): e751e4f
Files changed (2) hide show
  1. Dockerfile +5 -5
  2. WebSSH/Dockerfile +4 -0
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Use the latest Ubuntu image
2
- FROM ubuntu:latest
3
 
4
  # Update package list, install required packages, and clean up
5
  RUN apt-get update && \
@@ -106,10 +106,10 @@ EXPOSE 7860 2222
106
  #WORKDIR /home/admin
107
  # Change ownership of /home/admin directory
108
  #RUN chown -R admin:admin /home/admin
109
- RUN cat /etc/passwd && \
110
- cat /etc/group && \
111
- cat /etc/sudoers && \
112
- cat /etc/shadow
113
 
114
 
115
  RUN chmod -R 777 /app /home
 
1
  # Use the latest Ubuntu image
2
+ FROM ubuntu:focal
3
 
4
  # Update package list, install required packages, and clean up
5
  RUN apt-get update && \
 
106
  #WORKDIR /home/admin
107
  # Change ownership of /home/admin directory
108
  #RUN chown -R admin:admin /home/admin
109
+ #RUN cat /etc/passwd && \
110
+ # cat /etc/group && \
111
+ # cat /etc/sudoers && \
112
+ # cat /etc/shadow
113
 
114
 
115
  RUN chmod -R 777 /app /home
WebSSH/Dockerfile CHANGED
@@ -1,5 +1,9 @@
1
  FROM alpine:latest
2
 
 
 
 
 
3
  # Install necessary packages
4
  RUN apk update && apk add --no-cache openssh openrc openssh-keygen bash sudo python3 py3-pip net-tools
5
 
 
1
  FROM alpine:latest
2
 
3
+
4
+
5
+ ENV DEBIAN_FRONTEND=noninteractive
6
+
7
  # Install necessary packages
8
  RUN apk update && apk add --no-cache openssh openrc openssh-keygen bash sudo python3 py3-pip net-tools
9