17 lines
379 B
Docker
17 lines
379 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 python-hvac .
|
|
|
|
RUN curl -sSL https://install.python-poetry.org | python3 -\
|
|
&& poetry config virtualenvs.create false \
|
|
&& poetry install
|
|
|
|
ENTRYPOINT [ "python-hvac" ] |