Add ImageMagick and Im4java
This commit is contained in:
18
pom.xml
18
pom.xml
@@ -46,6 +46,16 @@
|
|||||||
<groupId>io.quarkus</groupId>
|
<groupId>io.quarkus</groupId>
|
||||||
<artifactId>quarkus-config-yaml</artifactId>
|
<artifactId>quarkus-config-yaml</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.openimaj</groupId>
|
||||||
|
<artifactId>core-image</artifactId>
|
||||||
|
<version>1.3.10</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.im4java</groupId>
|
||||||
|
<artifactId>im4java</artifactId>
|
||||||
|
<version>1.4.0</version>
|
||||||
|
</dependency>
|
||||||
<!-- Instance specific-->
|
<!-- Instance specific-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.quarkus</groupId>
|
<groupId>io.quarkus</groupId>
|
||||||
@@ -84,11 +94,9 @@
|
|||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
<id>native</id>
|
<id>native</id>
|
||||||
<activation>
|
<properties>
|
||||||
<property>
|
<quarkus.package.type>native</quarkus.package.type>
|
||||||
<name>native</name>
|
</properties>
|
||||||
</property>
|
|
||||||
</activation>
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|||||||
@@ -1,21 +1,9 @@
|
|||||||
####
|
FROM archlinux:latest
|
||||||
# This Dockerfile is used in order to build a container that runs the Quarkus application in native (no JVM) mode
|
|
||||||
#
|
|
||||||
# Before building the docker image run:
|
|
||||||
#
|
|
||||||
# mvn package -Pnative -Dquarkus.native.container-build=true
|
|
||||||
#
|
|
||||||
# Then, build the image with:
|
|
||||||
#
|
|
||||||
# docker build -f src/main/docker/Dockerfile.native -t quarkus/lalafin .
|
|
||||||
#
|
|
||||||
# Then run the container using:
|
|
||||||
#
|
|
||||||
# docker run -i --rm -p 8080:8080 quarkus/lalafin
|
|
||||||
#
|
|
||||||
###
|
|
||||||
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
|
|
||||||
WORKDIR /work/
|
WORKDIR /work/
|
||||||
|
|
||||||
|
RUN pacman -Syu --noconfirm
|
||||||
|
RUN pacman -S --noconfirm imagemagick
|
||||||
|
|
||||||
COPY target/*-runner /work/application
|
COPY target/*-runner /work/application
|
||||||
|
|
||||||
RUN chmod 775 /work
|
RUN chmod 775 /work
|
||||||
|
|||||||
Reference in New Issue
Block a user