add fake-accounting-lib

This commit is contained in:
Antonio Calanducci 2023-10-18 09:24:11 +02:00
parent c175904a43
commit 52f76845a2
1 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,12 @@ RUN apt-get update
RUN apt-get install -y wget
WORKDIR /home/gcube
RUN cd /home/gcube && wget https://nexus.d4science.org/nexus/content/repositories/gcube-staging-gcore/org/gcube/distribution/ghn-distribution/7.0.1-4.16.0-144317/ghn-distribution-7.0.1-4.16.0-144317.tar.gz && tar zxf ghn-distribution-7.0.1-4.16.0-144317.tar.gz && rm -f ghn-distribution-7.0.1-4.16.0-144317.tar.gz && mkdir -p /home/gcube/gCore/logs /home/gcube/gCore/tmp /home/gcube/gCore/config /home/gcube/gCore/etc && chown gcube /home/gcube/gCore/logs /home/gcube/gCore/tmp /home/gcube/gCore/config /home/gcube/gCore/etc
# add fake-accounting-lib
RUN rm /home/gcube/gCore/lib/accounting-lib-3.5.0.jar
RUN rm /home/gcube/gCore/lib/document-store-lib-2.5.0.jar
RUN rm /home/gcube/gCore/lib/document-store-lib-couchbase-1.6.0-4.16.0-171307.jar
RUN wget -P /home/gcube/gCore/lib https://nexus.d4science.org/nexus/content/repositories/gcube-snapshots/org/gcube/accounting/fake-accounting-lib/3.2.0-SNAPSHOT/fake-accounting-lib-3.2.0-20190311.105710-2.jar
COPY src/gcube-start-container.sh /home/gcube/gCore/bin/gcore-start-container
COPY src/GHNConfig.xml /home/gcube/gCore/config/GHNConfig.xml
RUN $GLOBUS_LOCATION/bin/gcore-load-env