We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef9b9e4 commit 22f4951Copy full SHA for 22f4951
2 files changed
Dockerfile
@@ -1,7 +1,9 @@
1
FROM maven:latest
2
-
+RUN apt-get update \
3
+ && apt-get install -y make \
4
+ && rm -rf /var/lib/apt/lists/*
5
6
WORKDIR /aspose-barcode-cloud-java
7
COPY . .
8
-ENTRYPOINT [ "mvn", "deploy" ]
9
+ENTRYPOINT ["make", "publish-docker"]
Makefile
@@ -17,10 +17,11 @@ format_tests:
17
18
.PHONY: test
19
test:
20
- mvn -B package --file pom.xml
+ mvn test
21
22
-.PHONY: publish
23
-publish: test
+.PHONY: publish-docker
+publish-docker:
24
+ sed -i -e 's_<url>https://repository.aspose.cloud/repo</url>_<url>http://repository.aspose.cloud/repo</url>_' pom.xml
25
mvn deploy
26
27
.PHONY: update
0 commit comments