Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
VR-demos
Commits
dcc691e7
Commit
dcc691e7
authored
Nov 15, 2018
by
Ruben Jesus Garcia Hernandez
Browse files
Removed unneeded folder
parent
208b217e
Changes
2
Hide whitespace changes
Inline
Side-by-side
containerization/Dockerfile
deleted
100644 → 0
View file @
208b217e
# Copyright 2018 Atte Silanpää
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# note, copy this file to VR-demos folder first
FROM
bitnami/apache:2.4
# copy NOMAD webservices
COPY
./webserver/htdocs/NOMAD/ /opt/bitnami/apache/htdocs/NOMAD/
COPY
./webserver/cgi-bin/NOMAD/ /opt/bitnami/apache/cgi-bin/NOMAD/
COPY
./webserver/pass /opt/bitnami/apache/
# allow cgi-bin
RUN
sed
-i
's%#LoadModule cgid_module modules/mod_cgid.so%LoadModule cgid_module modules/mod_cgid.so%'
/opt/bitnami/apache/conf/httpd.conf
# add wget and zip. gzip, curl, tar are there by default
USER
root
RUN
apt-get update
\
&&
apt-get
install
-y
wget
\
&&
apt-get
install
-y
zip
\
&&
rm
-rf
/var/lib/apt/lists/
*
containerization/README.md
deleted
100644 → 0
View file @
208b217e
Docker file to build a container to perform the VR conversion webservices
*
Check ../webserver/README.md
*
copy the Dockerfile to .. (VR-demos -folder)
*
install docker
*
add your NOMAD username and password in webserver/pass
*
build container
sudo docker build -t nomadvr .
*
run container
sudo docker run -d -p 8080:8080 nomadvr
*
Test e.g. with you.rip.add.res:8080/cgi-bin/NOMAD/material?109702
*
stop container
sudo docker stop
<container-name>
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