Skip to content

Instantly share code, notes, and snippets.

@jprinet
Created June 18, 2025 11:19
Show Gist options
  • Save jprinet/f47ee5624315201f504b6976377cded8 to your computer and use it in GitHub Desktop.
Save jprinet/f47ee5624315201f504b6976377cded8 to your computer and use it in GitHub Desktop.
Dockerfile custom GitLab runner
FROM bellsoft/liberica-openjdk-alpine:21
RUN apk add maven
ENV MAVEN_HOME=/usr/share/java/maven-3
# Collect convention extension from binary manager
#RUN mkdir -p $MAVEN_HOME/lib/ext
#ADD https://my-repo-hostname/repo/com/myorg/1.0/develocity-convention-extension-1.0.jar $MAVEN_HOME/lib/ext
# Collect convention extension locally
COPY custom-convention-extension.jar $MAVEN_HOME/lib/ext/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment