Skip to content

Commit

Permalink
ci: fix docker image p3.12 issue (#32)
Browse files Browse the repository at this point in the history
* ci: pin docker py version due to napalm py3.12 issue

* ci: remove unnecessary dependency
  • Loading branch information
adamkirchberger committed Dec 11, 2023
1 parent 88fff1b commit 737be8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3-slim as build
FROM python:3.11-slim as build

# Create venv
RUN python -m venv /venv
Expand All @@ -8,7 +8,7 @@ ENV PATH="/venv/bin:$PATH"
COPY dist/*.whl /tmp
RUN pip install /tmp/*.whl

FROM python:3-slim
FROM python:3.11-slim

# Copy venv from build step
COPY --from=build /venv /venv
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ ipaddress = "^1.0.23"
lxml = "^4.6.3"
tabulate = "^0.8.9"
dpath = "^2.0.5"
junos-eznc = "^2.6.3"
napalm = "^4.0.0"
pytest = "^6.2.5"
pytest-forked = "^1.3.0"
Expand Down

0 comments on commit 737be8a

Please sign in to comment.