automated terminal push
This commit is contained in:
45
tor-robot-remix/Dockerfile
Executable file
45
tor-robot-remix/Dockerfile
Executable file
@@ -0,0 +1,45 @@
|
||||
FROM softwareshinobi/software-shinobi-linux
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
WORKDIR /tmp/robotinstall
|
||||
|
||||
COPY . .
|
||||
|
||||
##
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y install cron
|
||||
|
||||
# Create the log file to be able to run tail
|
||||
|
||||
RUN touch /var/log/cron.log
|
||||
|
||||
# Start the cron service
|
||||
|
||||
RUN install/provision.bash
|
||||
|
||||
##
|
||||
|
||||
RUN install/install.full.bash
|
||||
|
||||
RUN ls -lha /var/root/
|
||||
|
||||
##
|
||||
|
||||
COPY bashrc/bashrc /tmp/.bashr
|
||||
|
||||
##
|
||||
|
||||
CMD cron && tail -f /var/log/cron.log
|
||||
|
||||
#########################################
|
||||
|
||||
##RUN echo "docker image build completed"
|
||||
|
||||
##
|
||||
|
||||
##EXPOSE 22
|
||||
|
||||
##CMD ["/usr/sbin/sshd","-D"]
|
||||
|
||||
Reference in New Issue
Block a user