Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions extra/hpe3par_simulator/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM library/python:3

WORKDIR /usr/src

RUN git clone https://github.com/HewlettPackard/hpe3par_python_sdk.git \
&& cd hpe3par_python_sdk \
&& pip install . \
&& pip install flask

EXPOSE 5000

ARG USER=username
ARG PASSWORD=password

VOLUME [ "/usr/src" ]

ENTRYPOINT [ "python" ]

CMD [ "hpe3par_python_sdk/test/HPE3ParMockServer_flask.py", "-debug", "-user", "${USER}", "-password", "${PASS}" ]