File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 strategy :
1313 matrix :
1414 temurin_tag :
15- - 11.0.21_9-jre
16- - 11.0.21_9-jdk
15+ - 11.0.27_6-jre
16+ - 11.0.27_6-jdk
17+ - 17.0.15_6-jre
18+ - 17.0.15_6-jdk
19+ - 21.0.7_6-jre
20+ - 21.0.7_6-jdk
21+
1722 runs-on : ubuntu-latest
1823 steps :
1924 - name : Checkout
3540 needs : build
3641 runs-on : ubuntu-latest
3742 steps :
38- - run : echo "The build completed successfully"
43+ - run : echo "The build completed successfully"
Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ ARG TEMURIN_TAG
22
33FROM eclipse-temurin:$TEMURIN_TAG
44
5- MAINTAINER Dwolla Engineering <dev+docker@dwolla.com>
5+ LABEL maintainer= " Dwolla Engineering <dev+docker@dwolla.com>"
66LABEL org.label-schema.vcs-url="https://github.com/Dwolla/docker-java"
77
8- RUN if [ -f "$JAVA_HOME/jre/lib/security/java.security" ] ; then \
8+ RUN set -e; \
9+ if [ -f "$JAVA_HOME/jre/lib/security/java.security" ] ; then \
910 SECURITY_FILE_PATH=$JAVA_HOME/jre/lib/security/java.security ; \
1011 elif [ -f "$JAVA_HOME/lib/security/java.security" ] ; then \
1112 SECURITY_FILE_PATH=$JAVA_HOME/lib/security/java.security ; \
@@ -16,8 +17,10 @@ RUN if [ -f "$JAVA_HOME/jre/lib/security/java.security" ] ; then \
1617 exit 98 ; \
1718 fi && \
1819 apt-get update && \
19- apt-get install -y bash && \
20- apt-get install -y netcat && \
20+ apt-get install -y \
21+ bash \
22+ netcat-traditional \
23+ && \
2124 sed -i s_#networkaddress.cache.ttl=-1_networkaddress.cache.ttl=60_ $SECURITY_FILE_PATH && \
2225 sed -i s_securerandom.source=file:/dev/random_securerandom.source=file:/dev/./urandom_ $SECURITY_FILE_PATH && \
2326 apt-get clean && \
Original file line number Diff line number Diff line change 1- TEMURIN_TAGS := 8u322-b06-jdk 11.0.14.1_1-jdk 8u322-b06-jre 11.0.14.1_1-jre
1+ # this makefile requires yq be installed! brew install yq
2+ TEMURIN_TAGS := $(shell yq -r '.jobs.build.strategy.matrix.temurin_tag | .[]' .github/workflows/ci.yml | tr '\n' ' ')
23JOBS := $(addprefix temurin-,${TEMURIN_TAGS})
34CHECKS := $(addprefix check-,${TEMURIN_TAGS})
45CLEAN := $(addprefix clean-,${TEMURIN_TAGS})
@@ -18,4 +19,4 @@ ${CHECKS}: check-%:
1819 grep --silent " ^ - $*$$ " .github/workflows/ci.yml
1920
2021${CLEAN} : clean-% :
21- docker rmi dwolla/docker-java:$* -SNAPSHOT --force
22+ docker rmi dwolla/docker-java:$* -SNAPSHOT --force
You can’t perform that action at this time.
0 commit comments