Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .cursor/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Base image bundles Maven 3.8.5 and Eclipse Temurin JDK 16, matching the
# project's Java 16 compiler target and the JDK 16 used by the GitHub Actions CI.
# JDK 16 is required because JaCoCo 0.8.7 (used for coverage) does not support
# bytecode from newer JDKs such as 21.
FROM maven:3.8.5-eclipse-temurin-16

# git and curl are handy for source checkout and general tooling in Cloud Agents.
RUN apt-get update \
&& apt-get install -y --no-install-recommends git curl ca-certificates \
&& rm -rf /var/lib/apt/lists/*

# Run as a non-root user matching Cloud Agent conventions.
RUN groupadd -g 1000 ubuntu \
&& useradd -m -u 1000 -g 1000 -s /bin/bash ubuntu

USER ubuntu
WORKDIR /home/ubuntu
8 changes: 8 additions & 0 deletions .cursor/environment.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "veryfi-java",
"user": "ubuntu",
"build": {
"dockerfile": "Dockerfile"
},
"install": "mvn -B -ntp -DskipTests package"
}
Loading