Skip to content
Snippets Groups Projects
Dockerfile 799 B
FROM netboxcommunity/netbox
ENV NAPALM_USERNAME netbox-napalm


RUN apk add --no-cache \
        libressl-dev \
        musl-dev \
        libffi-dev \
        git \
        zlib \
        python3-dev \
        libxml2-dev \
        libxslt-dev \
        alpine-sdk && \
    pip install --no-cache-dir cryptography

RUN pip3 install --upgrade napalm cffi napalm-dellos10
RUN pip3 install --upgrade nextbox-ui-plugin
RUN apk add py3-pillow
WORKDIR /tmp
RUN git clone https://github.com/k01ek/netbox-qrcode.git
WORKDIR /tmp/netbox-qrcode
COPY setup.py .
RUN python3 setup.py install
WORKDIR /tmp
RUN git clone https://github.com/iDebugAll/nextbox-ui-plugin
RUN cd /tmp/nextbox-ui-plugin
RUN pip3 install .
#source /opt/netbox/venv/bin/activate
WORKDIR /opt/netbox/netbox
RUN rm -rf /tmp/netbox-qrcode