Skip to content

Commit

Permalink
refactor: remove bloat from build and test steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Peters authored and FlxPeters committed Oct 12, 2024
1 parent 6290332 commit ef2b36c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 188 deletions.
3 changes: 0 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ repos:
hooks:
- id: poetry-check
- id: poetry-lock
- id: poetry-export
args: ["-f", "requirements.txt"]
verbose: true

- repo: https://github.com/PyCQA/flake8.git
rev: "7.1.1"
Expand Down
14 changes: 0 additions & 14 deletions develop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,10 @@ ARG netbox_ver=latest

FROM netboxcommunity/netbox:${netbox_ver}

ENV PYTHONUNBUFFERED 1

RUN mkdir -p /source
COPY .. /source

# Install Python build dependencies
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update -qq \
&& apt-get upgrade \
--yes -qq --no-install-recommends \
&& apt-get install \
--yes -qq --no-install-recommends \
build-essential \
python3-dev \
python3-pip

# Install the plugin in netbox
RUN /opt/netbox/venv/bin/pip install -r /source/requirements.txt
RUN /opt/netbox/venv/bin/pip install --editable /source

WORKDIR /opt/netbox/netbox/
171 changes: 0 additions & 171 deletions requirements.txt

This file was deleted.

0 comments on commit ef2b36c

Please sign in to comment.