6840cc878f
- 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
15 lines
503 B
Docker
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
|