first commit2
This commit is contained in:
parent
a5463e0a38
commit
ba3d89606b
1 changed files with 0 additions and 27 deletions
27
Dockerfile
27
Dockerfile
|
@ -1,12 +1,5 @@
|
|||
#Download base image ubuntu 16.04
|
||||
FROM ubuntu:18.04
|
||||
#FROM python:3.6
|
||||
|
||||
ARG PORT_SSH=2222
|
||||
#ARG DIRECTORY_LOGS="/apps/data/pshitt/logs"
|
||||
#ARG DIRECTORY_DATA="/apps/data/pshitt/data"
|
||||
|
||||
# Update Ubuntu Software repository
|
||||
RUN apt-get update
|
||||
|
||||
RUN apt-get install -y git python-setuptools python-pip && \
|
||||
|
@ -19,26 +12,6 @@ RUN apt-get install -y git python-setuptools python-pip && \
|
|||
pip install paramiko && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
#WORKDIR /srv/pshitt
|
||||
|
||||
#COPY ssh_host_rsa_key /apps/data/keyfiles/keyfile
|
||||
COPY ssh_host_rsa_key /srv/pshitt/keys/ssh_host_rsa_key
|
||||
#COPY exec_pshitt.sh /srv/pshitt/exec_pshitt.sh
|
||||
|
||||
#RUN chmod +x /srv/pshitt/exec_pshitt.sh
|
||||
|
||||
#ENV PATH /srv/pshitt/:${PATH}
|
||||
#ENV PORT_SSH ${PORT_SSH}
|
||||
#ENV THREADS ${THREADS}
|
||||
#ENV KEYFILE ${KEYFILE}
|
||||
#ENV DIRECTORY_LOGS ${DIRECTORY_LOGS}
|
||||
#ENV DIRECTORY_DATA ${DIRECTORY_DATA}
|
||||
|
||||
#EXPOSE ${PORT_SSH}
|
||||
|
||||
EXPOSE 2222
|
||||
|
||||
#ENTRYPOINT ["/srv/pshitt/exec_pshitt.sh"]
|
||||
|
||||
#ENTRYPOINT /srv/pshitt/./pshitt -p 2222 -k /srv/pshitt/keys/ssh_host_rsa_key -o /srv/pshitt/_LOG/$(date +%Y%m%d%H%M)_data.json -l /srv/pshitt/_LOG/$(date +%Y%m%d%H%M)_log.log && /bin/bash
|
||||
ENTRYPOINT /srv/pshitt/./pshitt -p 2222 -k /srv/pshitt/_HOST_SSH_KEYS/ssh_host_rsa_key -o /srv/pshitt/_LOG/$(date +%Y%m%d%H%M)_data.json -l /srv/pshitt/_LOG/$(date +%Y%m%d%H%M)_log.log && /bin/bash
|
||||
|
|
Loading…
Reference in a new issue