File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
FROM netboxcommunity/netbox:v3.7.8
2
2
LABEL org.opencontainers.image.source https://github.com/fpm-git/netbox
3
3
4
+ RUN sed -i 's|http://archive.ubuntu.com/ubuntu|http://old-releases.ubuntu.com/ubuntu|g' /etc/apt/sources.list && \
5
+ sed -i 's|http://security.ubuntu.com/ubuntu|http://old-releases.ubuntu.com/ubuntu|g' /etc/apt/sources.list && \
6
+ rm -f /etc/apt/sources.list.d/nginx.list && \
7
+ apt-get update --allow-insecure-repositories && \
8
+ apt-get install -y --allow-unauthenticated git && \
9
+ apt-get clean && rm -rf /var/lib/apt/lists/*
10
+
4
11
COPY ./plugin_requirements.txt /
5
12
RUN /opt/netbox/venv/bin/pip install --no-warn-script-location -r /plugin_requirements.txt
6
- RUN /opt/netbox/venv/bin/pip install --no-warn-script-location git+https://github.com/LHBL2003/netbox-qrcode@HTML-Label-Design
13
+ RUN /opt/netbox/venv/bin/pip install --no-warn-script-location git+https://github.com/LHBL2003/netbox-qrcode@HTML-Label-Design
7
14
8
15
COPY docker/nginx-unit.json /etc/unit/
9
16
You can’t perform that action at this time.
0 commit comments