Fix poetry venv
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-01-20 15:22:07 +02:00
parent f0fb853e23
commit a7ea3b1999
2 changed files with 3 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ steps:
- export POETRY_VERSION=1.2.2 - export POETRY_VERSION=1.2.2
- export POETRY_HOME=/usr/local/ - export POETRY_HOME=/usr/local/
- curl -sSL https://install.python-poetry.org | python3 - - curl -sSL https://install.python-poetry.org | python3 -
- poetry config virtualenvs.create false
- poetry install - poetry install
- printenv - printenv
- pytest - pytest

View File

@@ -11,6 +11,7 @@ ENV POETRY_VERSION=1.2.2 \
# COPY python-hvac . # COPY python-hvac .
RUN curl -sSL https://install.python-poetry.org | python3 -\ RUN curl -sSL https://install.python-poetry.org | python3 -\
poetry install && poetry config virtualenvs.create false \
&& poetry install
ENTRYPOINT [ "python-hvac" ] ENTRYPOINT [ "python-hvac" ]