Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
Project
Project
Details
Activity
Releases
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
david Chavalarias
clinicaltrials
Commits
fa17b805
Commit
fa17b805
authored
Mar 17, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rm old minidoors docker (use github.com/ISCPIF/doors-docker instead)
parent
0c74a96b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
46 deletions
+0
-46
Dockerfile
setup/dockers/minidoors/Dockerfile
+0
-46
No files found.
setup/dockers/minidoors/Dockerfile
deleted
100644 → 0
View file @
0c74a96b
# Doors minimal dockerfile
# -------------------------
# based on scala and sbt Dockerfile (https://github.com/hseeberger/scala-sbt)
# Pull base image
FROM
java:8
# cf. doors/application/build.sbt for correct version
ENV
SCALA_VERSION 2.11.8
ENV
SBT_VERSION 0.13.12
ENV
DOORS_COMMIT fca0f79
# Install Scala
## Piping curl directly in tar
RUN
\
curl
-fsL
http://downloads.typesafe.com/scala/
$SCALA_VERSION
/scala-
$SCALA_VERSION
.tgz |
tar
xfz -
-C
/root/
&&
\
echo
>>
/root/.bashrc
&&
\
echo
'export PATH=~/scala-$SCALA_VERSION/bin:$PATH'
>>
/root/.bashrc
# Install sbt
RUN
\
curl
-L
-o
sbt-
$SBT_VERSION
.deb http://dl.bintray.com/sbt/debian/sbt-
$SBT_VERSION
.deb
&&
\
dpkg
-i
sbt-
$SBT_VERSION
.deb
&&
\
rm
sbt-
$SBT_VERSION
.deb
&&
\
apt-get update
&&
\
apt-get
install
sbt
&&
\
sbt sbtVersion
WORKDIR
/root
# Build Doors ------------------------------------------------------------------
RUN
git clone https://github.com/ISCPIF/doors.git
WORKDIR
/root/doors
RUN
git checkout
$DOORS_COMMIT
WORKDIR
/root/doors/application
# build and compile it once so it downloads dependencies
RUN
sbt
"project lab"
compile
test
package
# set docker run command to run doors servers
CMD
sbt "project lab" run
# ports
EXPOSE
8989
# TODO expose ssl
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