All checks were successful
continuous-integration/drone/push Build is passing
17 lines
365 B
Docker
17 lines
365 B
Docker
FROM python:3
|
|
|
|
ENV VAULT_ADDR=https://vault.k8s.psynet.su
|
|
ENV VAULT_ROLE=raider-ro
|
|
ENV VAULT_PATH=raider/data/raider
|
|
|
|
ENV POETRY_VERSION=1.2.2 \
|
|
POETRY_HOME=/usr/local/
|
|
|
|
WORKDIR /python-hvac
|
|
COPY . .
|
|
|
|
RUN curl -sSL https://install.python-poetry.org | python3 -\
|
|
&& poetry config virtualenvs.create false \
|
|
&& poetry install
|
|
|
|
ENTRYPOINT [ "python-hvac" ] |