needed to make shell scripts executable
dos2unix is your friend.
This commit is contained in:
parent
582016b826
commit
971a40cfed
|
@ -1,5 +1,5 @@
|
|||
FROM java:8
|
||||
|
||||
#COPY /build/reso.jar
|
||||
COPY ./temp/spring-server-generated/target/swagger-spring-1.0.0.jar reso.jar
|
||||
|
||||
ENTRYPOINT ["java","-jar","reso.jar"]
|
8
build.sh
8
build.sh
|
@ -1,3 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker-compose build
|
||||
unzip temp/resources/spring-server-generated.zip -d temp/spring-server-generated
|
||||
|
||||
mvn -f temp/spring-server-generated compile
|
||||
mvn -f temp/spring-server-generated package
|
||||
|
||||
docker-compose build
|
||||
rm -rf temp/spring-server-generated
|
||||
|
|
Loading…
Reference in New Issue