Skip to content

Commit

Permalink
✨ added appliance version to main
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurcadore authored Aug 30, 2024
1 parent 5281a0c commit da1bfae
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 61 deletions.
34 changes: 1 addition & 33 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,4 @@
# Author: Arthur Cadore M. Barcella
# Github: arthurcadore
# Capacitação Redes - PV Intelbras
FROM ubuntu:22.04

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get clean
RUN apt-get install -y \
ansible \
python3 \
python3-pip \
supervisor

# Install additional dependencies for container
RUN pip3 install textfsm==1.1.0 \
scp==0.15.0 \
paramiko==3.4.0 \
ncclient==0.6.15 \
lxml==5.2.2 \
ipaddr==2.2.0 \
future==1.0.0 \
PyNaCl==1.5.0 \
bcrypt==4.1.3 \
cffi==1.17.0rc1 \
pycparser==2.22

# Add startup script to container:
COPY docker/startup.sh /usr/sbin/startup.sh
RUN chmod +x /usr/sbin/startup.sh

# Add supervisord configuration file:
COPY docker/supervisor.conf /etc/supervisord.conf


CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]
FROM arthurcadore/ansible-comware:6.0
15 changes: 0 additions & 15 deletions docker/startup.sh

This file was deleted.

13 changes: 0 additions & 13 deletions docker/supervisor.conf

This file was deleted.

0 comments on commit da1bfae

Please sign in to comment.