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
5385fa75
Commit
5385fa75
authored
Dec 24, 2016
by
Christopher Reis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change to docker.io source
parent
d86ed35f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
24 deletions
+34
-24
Dockerfile
gmsec_bolt/Dockerfile
+1
-11
Dockerfile
gmsec_pub/Dockerfile
+17
-7
Dockerfile
gmsec_sub/Dockerfile
+16
-6
No files found.
gmsec_bolt/Dockerfile
View file @
5385fa75
...
...
@@ -2,20 +2,10 @@
#Docker file for GMSEC Bolt
#
############################
FROM
ubuntu:lates
t
FROM
chrisreis53/gmsec_node:2-bol
t
MAINTAINER
Christopher Reis "chrisreis53@gmail.com"
EXPOSE
5000
EXPOSE
80
#WORKDIR /code
RUN
apt-get update
RUN
apt-get
install
-y
wget default-jre default-jdk
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
CMD
["java","-jar","/GMSEC_API/bin/bolt.jar","port=5000"]
gmsec_pub/Dockerfile
View file @
5385fa75
############################
#Docker file for GMSEC
Bolt
#Docker file for GMSEC
pub
#
############################
FROM
ubuntu:latest
...
...
@@ -8,19 +8,29 @@ MAINTAINER Christopher Reis "chrisreis53@gmail.com"
EXPOSE
5000
EXPOSE
80
#WORKDIR /code
WORKDIR
/
RUN
apt-get update
RUN
apt-get
install
-y
wget default-jre default-jdk
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
#CMD ["export","LD_LIBRARY_PATH=/GMSEC_API/bin/"]
#CMD ["source","~/.bashrc"]
ENV
LD_LIBRARY_PATH /GMSEC_API/bin
ENV
LD_LIBRARY_PATH /GMSEC_API/bin:/usr/lib/x86_64-linux-gnu/
#server name must be same name given to gmsec bolt server
CMD
["/GMSEC_API/bin/gmpub","server=gmbolt:5000","iterations=500","connectiontype=gmsec_bolt","interval_ms=500"]
#CMD ["/GMSEC_API/bin/gmpub","server=gmbolt:5000","iterations=500","connectiontype=gmsec_bolt","interval_ms=500"]
CMD
["/GMSEC_API/bin/gmpub","server=rabbitmq:5672","iterations=500","connectiontype=gmsec_amqp","interval_ms=500"]
gmsec_sub/Dockerfile
View file @
5385fa75
...
...
@@ -8,19 +8,29 @@ MAINTAINER Christopher Reis "chrisreis53@gmail.com"
EXPOSE
5000
EXPOSE
80
#
WORKDIR /code
WORKDIR
/code
RUN
apt-get update
RUN
apt-get
install
-y
wget default-jre default-jdk
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
#CMD ["export","LD_LIBRARY_PATH=/GMSEC_API/bin/"]
#CMD ["source","~/.bashrc"]
ENV
LD_LIBRARY_PATH /GMSEC_API/bin
ENV
LD_LIBRARY_PATH /GMSEC_API/bin:/usr/lib/x86_64-linux-gnu/
#server name must be same name given to gmsec bolt server
CMD
["/GMSEC_API/bin/gmsub","server=gmbolt:5000","connectiontype=gmsec_bolt"]
#CMD ["/GMSEC_API/bin/gmsub","server=gmbolt:5000","connectiontype=gmsec_bolt"]
CMD
["/GMSEC_API/bin/gmsub","server=rabbitmq:5672","connectiontype=gmsec_amqp"]
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