46 lines
578 B
Docker
Executable File
46 lines
578 B
Docker
Executable File
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"]
|
|
|