UNCLASSIFIED

Commit 138e5316 authored by Michael Uranaka's avatar Michael Uranaka
Browse files

removing jars from repo. updating docker file to load dependency

parent ce523258
...@@ -9,4 +9,5 @@ submitted.txt ...@@ -9,4 +9,5 @@ submitted.txt
gradlew gradlew
gradlew.bat gradlew.bat
gradle gradle
build_dependencies build_dependencies
\ No newline at end of file libs
\ No newline at end of file
...@@ -8,14 +8,25 @@ RUN dnf update -y && dnf clean all ...@@ -8,14 +8,25 @@ RUN dnf update -y && dnf clean all
WORKDIR /app WORKDIR /app
COPY ./scripts /app COPY ./scripts /app
COPY redis-cli.tar.gz . COPY redis-cli.tar.gz .
COPY jars.tar.gz .
# Set workdir. # Set workdir.
WORKDIR /app WORKDIR /app
# Setup libraries and node modules. # Setup redis.
RUN tar xzf redis-cli.tar.gz && rm redis-cli.tar.gz RUN tar xzf redis-cli.tar.gz && rm redis-cli.tar.gz
RUN mv redis-cli /usr/local/bin/redis-cli RUN mv redis-cli /usr/local/bin/redis-cli
# Setup jars.
RUN tar xzf jars.tar.gz && rm jars.tar.gz
RUN mv jars/main/* libs/
RUN mv jars/process_job/* process_job/libs/
RUN mv jars/send_results/* send_results/libs/
RUN rm -rf jars
RUN ls -la libs
RUN ls -la process_job/libs
RUN ls -la send_resutls/libs
# Set permissions and ownership # Set permissions and ownership
RUN chown -R 1000 /app RUN chown -R 1000 /app
RUN chmod 0555 /app/get-job.sh RUN chmod 0555 /app/get-job.sh
......
...@@ -38,6 +38,14 @@ resources: ...@@ -38,6 +38,14 @@ resources:
validation: validation:
type: sha256 type: sha256
value: 975e37c4165969c4cd612ddd81a6950e872f2d9a7a355376a05be4ad901e62fe value: 975e37c4165969c4cd612ddd81a6950e872f2d9a7a355376a05be4ad901e62fe
- auth:
id: galvanize
region: us-gov-west-1
url: s3://learn-dependencies/java-evaluator/jars.tar.gz
filename: jars.tar.gz
validation:
type: sha256
value: 8d9cbd2da25b8c1792e6fc900c9bd88c7e79005fdacf81fd0765933682b53c21
# List of project maintainers # List of project maintainers
maintainers: maintainers:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment