clean and add pkg in Dockerfile
This commit is contained in:
parent
4bed07e169
commit
672bd340f7
28
Dockerfile
28
Dockerfile
|
|
@ -1,8 +1,10 @@
|
|||
FROM kalilinux/kali:latest
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
#RUN apt-get install -y openssh-server
|
||||
|
||||
RUN apt-get install -y openssh-server
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get install -y xfce4
|
||||
RUN apt-get install -y fakechroot
|
||||
RUN apt-get install -y --no-install-recommends build-essential cmake git libjson-c-dev libwebsockets-dev
|
||||
|
|
@ -11,35 +13,15 @@ RUN apt-get install -y rsync
|
|||
RUN apt-get install -y sudo
|
||||
RUN apt-get install -y fakeroot
|
||||
RUN apt-get install -y neofetch
|
||||
#RUN apt-get install -y ttyd
|
||||
#RUN apt-get install -y npm
|
||||
RUN apt-get install -y apt-utils
|
||||
RUN apt-get install -y git
|
||||
RUN apt-get install -y nano
|
||||
RUN apt-get install -y tigervnc-standalone-server
|
||||
#RUN apt-get install -y ubuntu-desktop tightvncserver
|
||||
#RUN yes 31 | apt install -y gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
|
||||
|
||||
#RUN adduser --disabled-password --gecos '' r
|
||||
#RUN adduser r sudo
|
||||
#RUN echo '%u57385 ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||
#RUN apt-get clean && apt-get autoclean && apt-get autoremove -y
|
||||
RUN mkdir /home/kcubeterm
|
||||
#RUN mkdir /home/rahil1
|
||||
#RUN mkdir /home/kcubeterm/home
|
||||
#RUN unminimize
|
||||
#RUN mkdir /root/.ssh
|
||||
#RUN mkdir /root/app
|
||||
#COPY authorized_keys /root/.ssh/authorized_keys
|
||||
#COPY installer.sh /root/installer.sh
|
||||
RUN npm install -g heroku
|
||||
COPY root.sh /usr/local/bin/root.sh
|
||||
COPY .bashrc $HOME/.bashrc
|
||||
RUN apt-get install -y wget
|
||||
RUN apt-get install -y curl
|
||||
ADD https://github.com/tsl0922/ttyd/releases/download/1.6.1/ttyd_linux.x86_64 /usr/local/bin/ttyd
|
||||
RUN chmod +x /usr/local/bin/ttyd
|
||||
#RUN bash /root/installer.sh
|
||||
#RUN echo -e "kk\nkk" | passwd
|
||||
#COPY sshd_config /root/.ssh/sshd_config
|
||||
#COPY app.js /root/app/app.js
|
||||
#COPY package.json /root/app/package.json
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue