Skip to content

Commit 3fec004

Browse files
committed
Add initial jq-based templating engine
This moves us from 11 templates down to 2, bringing much more consistency to the generated results. This also adds support for Alpine 3.13 (because we might as well).
1 parent 772b9df commit 3fec004

File tree

69 files changed

+2027
-1726
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+2027
-1726
lines changed

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/*/**/Dockerfile linguist-generated
2+
/Dockerfile*.template linguist-language=Dockerfile
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Verify Templating
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
defaults:
8+
run:
9+
shell: 'bash -Eeuo pipefail -x {0}'
10+
11+
jobs:
12+
apply-templates:
13+
name: Check For Uncomitted Changes
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Apply Templates
18+
run: ./apply-templates.sh
19+
- name: Check Git Status
20+
run: |
21+
status="$(git status --short)"
22+
[ -z "$status" ]

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.jq-template.awk

11/jdk/buster/Dockerfile

+29-26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

11/jdk/oraclelinux7/Dockerfile

+23-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

11/jdk/oraclelinux8/Dockerfile

+23-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)