Skip to content

Commit 6dffbae

Browse files
authored
Hardcode java version for trusty (circleci#242)
1 parent bc11ef1 commit 6dffbae

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

jekyll/_docs/build-image-trusty.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,24 @@ Pre-installed versions:
6363
- `{{ version }}`
6464
{% endfor %}
6565

66+
<!--
67+
Kludge ahead! circle.yml expects abbreviated version name e.g. openjdk8 but
68+
the actual name on build image is different e.g. openjdk-8-jre.
69+
Since there is no reliable way to map the name that circle.yml expects and the name
70+
actually installed correctly, we hardcode versions here.
71+
-->
72+
6673
### Java
6774

68-
Default: `{{ site.data.trusty.versions.summary.java.default }}`
75+
Default: `oraclejdk8`
6976

7077
Pre-installed versions:
7178

72-
{% for version in site.data.trusty.versions.summary.java.all %}
73-
- `{{ version }}`
74-
{% endfor %}
79+
- `oraclejdk8`
80+
81+
- `openjdk8`
82+
83+
- `openjdk7`
7584

7685
### Go
7786

0 commit comments

Comments
 (0)