-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #514 from G-Node/banners
Preparation for release v1.3 LGTM
- Loading branch information
Showing
67 changed files
with
4,261 additions
and
363 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Dockerfile preparing the dependencies for the full GCA-Web build | ||
FROM java:8 | ||
|
||
ENV ACTIVATOR_VERSION 1.3.7 | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
WORKDIR /tmp | ||
RUN wget https://downloads.typesafe.com/typesafe-activator/${ACTIVATOR_VERSION}/typesafe-activator-${ACTIVATOR_VERSION}-minimal.zip | ||
RUN unzip -q typesafe-activator-${ACTIVATOR_VERSION}-minimal.zip -d /usr/local | ||
|
||
ENV PATH /usr/local/activator-${ACTIVATOR_VERSION}-minimal:$PATH | ||
|
||
# install to srv gca | ||
RUN mkdir -p /srv/gca | ||
RUN mkdir -p /srv/gca/figures | ||
RUN mkdir -p /srv/gca/figures_mobile | ||
RUN mkdir -p /srv/gca/banners | ||
RUN mkdir -p /srv/gca/banners_mobile | ||
|
||
ADD app /srv/gca/app | ||
ADD conf /srv/gca/conf | ||
ADD project/plugins.sbt /srv/gca/project/ | ||
ADD project/build.properties /srv/gca/project/ | ||
ADD public /srv/gca/public | ||
ADD test /srv/gca/test | ||
ADD build.sbt /srv/gca/ | ||
|
||
# only required for local tests | ||
RUN mkdir -p /srv/gca/db | ||
RUN echo "db.default.url=\"jdbc:h2:/srv/gca/db/gca-web\"" >> /srv/gca/conf/application.dev.conf | ||
|
||
# test and stage | ||
WORKDIR /srv/gca | ||
# Required to get dependencies before running the startup script. | ||
RUN activator test stage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.