Skip to content
Snippets Groups Projects

Draft: Java build container

Open Roger Feese requested to merge add-java-build-server into develop
2 files
+ 39
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 31
0
 
FROM eclipse-temurin:8-alpine
 
 
ARG BUILD_DATE
 
ARG VCS_REF
 
ARG VERSION
 
LABEL org.label-schema.build-date=$BUILD_DATE \
 
org.label-schema.name="Java OpenJDK 1.8" \
 
org.label-schema.description="Docker image to Java SE 8 applications" \
 
org.label-schema.vcs-ref=$VCS_REF \
 
org.label-schema.vendor="University of Nebraska - Lincoln" \
 
org.label-schema.version="0.1.0" \
 
org.label-schema.schema-version="1.0" \
 
maintainer="Roger Feese <rfeese@nebraska.edu>"
 
 
# Install additional build tools
 
# - gradle
 
# - maven
 
# - ant + ivy
 
 
RUN apk add --no-cache \
 
gradle \
 
maven \
 
apache-ant
 
 
# ivy installation in ant
 
# download ivy
 
# extract the ivy jar file to the ant lib folder
 
# cleanup
 
RUN wget -q -O /tmp/apache-ivy.tar.gz https://dlcdn.apache.org//ant/ivy/2.5.2/apache-ivy-2.5.2-bin.tar.gz && \
 
tar --strip-components 1 -C /usr/share/java/apache-ant/lib/ -xzf /tmp/apache-ivy.tar.gz apache-ivy-2.5.2/ivy-2.5.2.jar && \
 
rm /tmp/apache-ivy.tar.gz
Loading