-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (22 loc) · 891 Bytes
/
Dockerfile
File metadata and controls
32 lines (22 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from axios/redhawk:1.10.2
MAINTAINER Youssef Bagoulla <[email protected]>
USER root
RUN yum clean all
# add REDHAWK Web and nginx repo and install redhawk-rtl-demo application
ADD rhweb.repo /etc/yum.repos.d/
ADD nginx.repo /etc/yum.repos.d/
# Install the rtl-demo app
RUN yum install -y redhawk-rtl-demo
# User should have two options as to how to run the container, interactive and non-interactive
# With the interactive option, the user should be placed into a bash prompt with RHWEB running.
# In non-interactive the user can background the container and RHWEB should continue to run.
# In either case, the bootstrap script is used to setup the required services for rhweb
ADD bootstrap.sh /bootstrap.sh
ADD shell.sh /shell.sh
ADD noShell.sh /noShell.sh
RUN chmod +x /shell.sh
RUN chmod +x /noShell.sh
EXPOSE 80
EXPOSE 9401
EXPOSE 9402
CMD ["/noShell.sh"]