set index and index url in secrest env
This commit is contained in:
parent
04107d5be5
commit
1d38b19adb
11
Dockerfile
11
Dockerfile
@ -4,14 +4,13 @@ LABEL maintainer='Meazure Developers <devs@getyardstick.com>'
|
|||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get -y install coinor-cbc
|
RUN apt-get -y install coinor-cbc
|
||||||
|
|
||||||
ARG NEXUS_TOKEN
|
ARG PIP_INDEX_URL
|
||||||
|
ARG PIP_INDEX
|
||||||
|
|
||||||
# ENV PIP_CONFIG_FILE pip.conf
|
ENV PIP_INDEX_URL $PIP_INDEX_URL
|
||||||
ENV PYTHONPATH /pip
|
ENV PIP_INDEX $PIP_INDEX
|
||||||
ENV NEXUS_TOKEN $NEXUS_TOKEN
|
|
||||||
ENV PIP_DEFAULT_INDEX_URL https://artifact.it.getyardstick.com/repository/meazurelearning-pypi/simple/:_auth=${NEXUS_TOKEN}
|
|
||||||
ENV PIP_DEFAULT_INDEX https://artifact.it.getyardstick.com/repository/meazurelearning-pypi/pypi/:_auth=${NEXUS_TOKEN}
|
|
||||||
ENV PIP_DEFAULT_TARGET /pip
|
ENV PIP_DEFAULT_TARGET /pip
|
||||||
|
ENV PYTHONPATH /pip
|
||||||
|
|
||||||
RUN mkdir /app
|
RUN mkdir /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user