python-redfish/dmtf/mockup_0.99.0a/Dockerfile
Uggla 6840cc878f Add a new mechanism to create a container running simulator 1.1.0
- Move previous simulator files into mockup_0.99.0a directory.
- Cleanup, adapt mockup_0.99.0a files.
- Add mockup_1.1.0 directory to host the new simulator files.

Note :
- First redfish-client tests against this new mockup work well.
- Of course, this is a first commit so it could be refined.

Change-Id: I88ac480e5b303922be5ec37e1a14a91f68d0bd92
2017-03-08 01:50:50 +00:00

15 lines
503 B
Docker

# Invoke with docker run -p 8000:80 <dockerimageid>
# Then use by browsing http://localhost:8000
FROM ubuntu:16.04
MAINTAINER bruno.cornec@hpe.com
ENV DEBIAN_FRONTEND noninterative
# Install deps for Redfish mockup
RUN apt-get update
RUN apt-get -y install apache2 unzip sed patch vim
EXPOSE 80
COPY redfish-setup.sh /tmp/redfish-setup.sh
COPY DSP2043_0.99.0a.zip /tmp/DSP2043_0.99.0a.zip
COPY fix_manager_ei.patch /tmp/fix_manager_ei.patch
RUN chmod 755 /tmp/redfish-setup.sh
CMD /tmp/redfish-setup.sh