68f70626ad
- Update container creation process to patch the mockup. - Also remove apache pid file if present. Happens if container is brutally killed. - This is a fix for the old mockup 0.99a waiting to create a new process and container to use the 1.0. Change-Id: I1be50a77b514d01e119be128b63a55180d2fa3fd
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:15.10
|
|
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
|