Skip to content

Commit

Permalink
Merge pull request #4 from alliance-genome/switch_to_apollo_git
Browse files Browse the repository at this point in the history
Switch to apollo git
  • Loading branch information
scottcain authored Jun 15, 2021
2 parents 8384483 + 0f2134d commit 16b9ad7
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,22 @@ RUN curl -s "http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/blat/blat" -o
gunzip /chado.sql.gz

#NOTE, we had problems with the build the archive-file coming in from github so using a clone instead
#RUN npm i -g yarn && useradd -ms /bin/bash -d /apollo apollo
RUN npm i -g yarn && useradd -ms /bin/bash -d /apollo apollo
COPY client /apollo/client
COPY gradlew /apollo
COPY grails-app /apollo/grails-app
COPY gwt-sdk /apollo/gwt-sdk
COPY lib /apollo/lib
COPY src /apollo/src
COPY web-app /apollo/web-app
COPY wrapper /apollo/wrapper
COPY test /apollo/test
COPY scripts /apollo/scripts
RUN git clone --depth 1 --single-branch --branch develop https://github.com/gmod/apollo /apollo/apollo-clone
RUN mv /apollo/apollo-clone/* /apollo && rm -rf /apollo/apollo-clone
#COPY client /apollo/client
#COPY gradlew /apollo
#COPY grails-app /apollo/grails-app
#COPY gwt-sdk /apollo/gwt-sdk
#COPY lib /apollo/lib
#COPY src /apollo/src
#COPY web-app /apollo/web-app
#COPY wrapper /apollo/wrapper
#COPY test /apollo/test
#COPY scripts /apollo/scripts
ADD gra* /apollo/
COPY apollo /apollo/apollo
#COPY apollo /apollo/apollo
ADD build* /apollo/
ADD settings.gradle /apollo
ADD application.properties /apollo
Expand Down Expand Up @@ -84,8 +87,8 @@ RUN curl -s get.sdkman.io | bash && \

RUN /bin/bash -c "source $HOME/.sdkman/bin/sdkman-init.sh && /bin/bash /bin/build.sh"


USER root

# remove from webapps and copy it into a staging directory
#RUN rm -rf ${CATALINA_BASE}/webapps/* && \
# cp /apollo/apollo*.war ${CATALINA_BASE}/apollo.war
Expand Down

0 comments on commit 16b9ad7

Please sign in to comment.