This website works better with JavaScript.
Home
Explore
Help
Sign In
sindre
/
maven-sync-setup
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Run coursier once for each package
wip/coursier
Sindre Stephansen
2 years ago
parent
87073ad398
commit
7c318a8617
3 changed files
with
9 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
sync/.dockerignore
+3
-1
sync/Dockerfile
+5
-0
sync/main.sh
+ 1
- 0
sync/.dockerignore
View File
@@ -2,3 +2,4 @@
!settings.xml
!resolve-deps-from-poms.sh
!wait-for-it.sh
!main.sh
+ 3
- 1
sync/Dockerfile
View File
@@ -9,8 +9,10 @@ RUN chmod +x /usr/bin/cs
RUN cs setup -y
ADD ./main.sh /main.sh
RUN mkdir /workdir
WORKDIR /workdir
ENV COURSIER_CACHE /workdir
CMD ["
/usr/bin/cs", "fetch", "--dependency-file", "/packages.txt", "--default=true", "--sources", "--javadoc
"]
CMD ["
sh", "/main.sh
"]
+ 5
- 0
sync/main.sh
View File
@@ -0,0 +1,5 @@
#!/bin/sh
for line in $(cat /packages.txt); do
cs fetch --default=true --sources --javadoc -v -v "$line"
done
Write
Preview
Loading…
Cancel
Save