Skip to content

Commit

Permalink
[issue-374] Test Environment
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelgbanks committed Feb 6, 2025
1 parent c30e521 commit 5941c81
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion cantaloupe/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
# syntax=docker/dockerfile:1.5.1
FROM java
FROM base

ARG TARGETARCH

# FOR TESTING PURPOSES ONLY DO NOT MERGE.
RUN --mount=type=cache,id=cantaloupe-java-apk-${TARGETARCH},sharing=locked,target=/var/cache/apk \
echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
apk update && \
apk add \
openjdk22@testing \
maven \
&& \
cleanup.sh

ENV JAVA_HOME=/usr/lib/jvm/default-jvm

# renovate: datasource=github-releases depName=cantaloupe packageName=cantaloupe-project/cantaloupe
ARG CANTALOUPE_VERSION=5.0.6
ARG CANTALOUPE_FILE="cantaloupe-${CANTALOUPE_VERSION}.zip"
Expand Down
2 changes: 1 addition & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ DEPENDENCIES = {
activemq = ["java"]
alpaca = ["java"]
blazegraph = ["tomcat"]
cantaloupe = ["java"]
cantaloupe = ["base"]
code-server = ["drupal"]
crayfish = ["nginx"]
crayfits = ["crayfish"]
Expand Down

0 comments on commit 5941c81

Please sign in to comment.