Skip to content

Commit

Permalink
Merge d9a0ccb into 949bc67
Browse files Browse the repository at this point in the history
  • Loading branch information
chebroluharika committed Jul 24, 2020
2 parents 949bc67 + d9a0ccb commit bea2fa0
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,33 @@
FROM python:3.7-slim-buster
# See README.md to see how to build and run this
FROM python:3.6-slim-buster

LABEL maintainer "Chebrolu Harika <bala-sai-harika.chebrolu@hpe.com>"

LABEL maintainer "Priyanka Sood <priyanka.sood@hpe.com>"
WORKDIR /root

RUN pip install hpOneView==5.0.0
# Some optional but recommended packages
RUN DEBIAN_FRONTEND=noninteractive \
apt-get update -y \
&& apt-get install --no-install-recommends -y \
vim \
curl

# install dependencies to run examples
RUN pip install hpOneView

ADD . oneview/

WORKDIR /root/oneview

# packages to run tests
RUN cd /root/oneview/
RUN pip install -r test_requirements.txt
RUN pip install tox

# Clean and remove not required packages
RUN DEBIAN_FRONTEND=noninteractive \
apt-get autoremove -y && \
apt-get clean -y && \
rm -rf /var/cache/apt/archives/* /var/cache/apt/lists/* /tmp/* /root/cache/.

CMD ["/bin/bash"]

0 comments on commit bea2fa0

Please sign in to comment.