Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
gmsec_containers
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Christopher Reis
gmsec_containers
Commits
2725dc46
Commit
2725dc46
authored
Dec 24, 2016
by
Christopher Reis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change to RabitMQ server
parent
5385fa75
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
41 deletions
+14
-41
docker-compose.yml
docker-compose.yml
+9
-0
Dockerfile
gmsec_pub/Dockerfile
+3
-21
Dockerfile
gmsec_sub/Dockerfile
+2
-20
No files found.
docker-compose.yml
View file @
2725dc46
...
@@ -4,14 +4,23 @@ gmbolt:
...
@@ -4,14 +4,23 @@ gmbolt:
ports
:
ports
:
-
"
5000"
-
"
5000"
rabbitmq
:
restart
:
always
image
:
rabbitmq:3-management
ports
:
-
"
80:15672"
-
"
5672"
gmsub
:
gmsub
:
restart
:
always
restart
:
always
build
:
./gmsec_sub
build
:
./gmsec_sub
links
:
links
:
-
gmbolt:gmbolt
-
gmbolt:gmbolt
-
rabbitmq
gmpub
:
gmpub
:
restart
:
always
restart
:
always
build
:
./gmsec_pub
build
:
./gmsec_pub
links
:
links
:
-
gmbolt:gmbolt
-
gmbolt:gmbolt
-
rabbitmq
gmsec_pub/Dockerfile
View file @
2725dc46
############################
############################
#Docker file for GMSEC
pub
#Docker file for GMSEC
Publish
#
#
############################
############################
FROM
ubuntu:latest
FROM
chrisreis53/gmsec_node:1-sub_pub_only
MAINTAINER
Christopher Reis "chrisreis53@gmail.com"
MAINTAINER
Christopher Reis "chrisreis53@gmail.com"
EXPOSE
5000
EXPOSE
5000
EXPOSE
80
EXPOSE
80
WORKDIR
/
WORKDIR
/
code
RUN
apt-get update
RUN
apt-get update
RUN
apt-get
install
-y
wget default-jre default-jdk python2.7 cmake uuid-dev
#Install GMSEC Libraries
RUN
mkdir
/GMSEC_API
RUN
cd
/GMSEC_API
RUN
wget https://sourceforge.net/projects/gmsec/files/GMSEC%20API%204.2/GMSEC_API-4.2-RH7_x86_64.tar.gz
RUN
tar
-zxvf
GMSEC_API-4.2-RH7_x86_64.tar.gz
#Install AMQP Required Library (this is dumb, need to contact NASA to update libs)
RUN
wget http://archive.apache.org/dist/qpid/proton/0.9.1/qpid-proton-0.9.1.tar.gz
RUN
tar
-xf
qpid-proton-0.9.1.tar.gz
RUN
cd
qpid-proton-0.9.1-rc1/
RUN
mkdir
build
&&
cd
build
WORKDIR
/qpid-proton-0.91-rc1/build/
RUN
cmake ..
-DCMAKE_INSTALL_PREFIX
=
/usr
-DSYSINSTALL_BINDINGS
=
ON
-DPYTHON_EXECUTABLE
:FILEPATH
=
/usr/bin/python2.7
;
exit
0
RUN
make
install
ADD
.bashrc ~/.bashrc
ENV
LD_LIBRARY_PATH /GMSEC_API/bin:/usr/lib/x86_64-linux-gnu/
ENV
LD_LIBRARY_PATH /GMSEC_API/bin:/usr/lib/x86_64-linux-gnu/
...
...
gmsec_sub/Dockerfile
View file @
2725dc46
############################
############################
#Docker file for GMSEC
Bolt
#Docker file for GMSEC
Subscribe
#
#
############################
############################
FROM
ubuntu:latest
FROM
chrisreis53/gmsec_node:1-sub_pub_only
MAINTAINER
Christopher Reis "chrisreis53@gmail.com"
MAINTAINER
Christopher Reis "chrisreis53@gmail.com"
EXPOSE
5000
EXPOSE
5000
...
@@ -10,24 +10,6 @@ EXPOSE 80
...
@@ -10,24 +10,6 @@ EXPOSE 80
WORKDIR
/code
WORKDIR
/code
RUN
apt-get update
RUN
apt-get update
RUN
apt-get
install
-y
wget default-jre default-jdk python2.7 cmake uuid-dev
#Install GMSEC Libraries
RUN
mkdir
/GMSEC_API
RUN
cd
/GMSEC_API
RUN
wget https://sourceforge.net/projects/gmsec/files/GMSEC%20API%204.2/GMSEC_API-4.2-RH7_x86_64.tar.gz
RUN
tar
-zxvf
GMSEC_API-4.2-RH7_x86_64.tar.gz
#Install AMQP Required Library (this is dumb, need to contact NASA to update libs)
RUN
wget http://archive.apache.org/dist/qpid/proton/0.9.1/qpid-proton-0.9.1.tar.gz
RUN
tar
-xf
qpid-proton-0.9.1.tar.gz
RUN
cd
qpid-proton-0.9.1-rc1/
RUN
mkdir
build
&&
cd
build
WORKDIR
/qpid-proton-0.91-rc1/build/
RUN
cmake ..
-DCMAKE_INSTALL_PREFIX
=
/usr
-DSYSINSTALL_BINDINGS
=
ON
-DPYTHON_EXECUTABLE
:FILEPATH
=
/usr/bin/python2.7
;
exit
0
RUN
make
install
ADD
.bashrc ~/.bashrc
ENV
LD_LIBRARY_PATH /GMSEC_API/bin:/usr/lib/x86_64-linux-gnu/
ENV
LD_LIBRARY_PATH /GMSEC_API/bin:/usr/lib/x86_64-linux-gnu/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment