mirror of
https://github.com/GNS3/gns3-registry.git
synced 2025-02-22 09:50:58 +00:00
Merge pull request #304 from AJNOURI/master
Add persistency to network automation containers (CLI & PyCharm) with additional mapping of /usr
This commit is contained in:
commit
04ee6df643
@ -11,8 +11,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-rec
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& pip install --upgrade pip \
|
||||
&& pip install cryptography netmiko napalm pyntc \
|
||||
&& pip install --upgrade paramiko
|
||||
&& pip install --upgrade paramiko && mkdir /scripts
|
||||
|
||||
VOLUME [ "/root" ]
|
||||
VOLUME [ "/root","/usr", "/scripts" ]
|
||||
CMD [ "sh", "-c", "cd; exec bash -i" ]
|
||||
|
||||
|
@ -53,4 +53,4 @@ ADD pycharm-run /etc/sv/pycharm/run
|
||||
RUN chmod a+x /etc/sv/pycharm/run
|
||||
RUN ln -s /etc/sv/pycharm /etc/service
|
||||
|
||||
VOLUME /root /scripts
|
||||
VOLUME ["/root", "/usr/", "/scripts"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user