56c9f0a910
- Update Redfish spec and schema to version 1.0.0 - Update Redfish simulator to version 0.99.0a - Comply with Redfish 1.0.0 by changing remaining refs from /rest/v1 to /redfish/v1 - Adds a README to explain how to use the Docker container to launch the DMTF Redfish mockup in order to test without hardware - Update spec file for local usage
14 lines
441 B
Docker
14 lines
441 B
Docker
# Invoke with docker run -p 8000:80 <dockerimageid>
|
|
# Then use by browsing http://localhost:8000
|
|
FROM ubuntu:15.04
|
|
MAINTAINER bruno.cornec@hp.com
|
|
ENV DEBIAN_FRONTEND noninterative
|
|
# Install deps for Redfish mockup
|
|
RUN apt-get update
|
|
RUN apt-get -y install apache2 unzip sed
|
|
EXPOSE 80
|
|
COPY redfish-setup.sh /tmp/redfish-setup.sh
|
|
COPY DSP2043_0.99.0a.zip /tmp/DSP2043_0.99.0a.zip
|
|
RUN chmod 755 /tmp/redfish-setup.sh
|
|
CMD /tmp/redfish-setup.sh
|