Skip to content

Commit

Permalink
Fix compilation issue when running azure-java in the UBI pulumi-java …
Browse files Browse the repository at this point in the history
…image (#212)

We need to install `java-11-openjdk-devel`, not
`java-11-openjdk-headless` to have a full Java dev environment.

Fixes #210
  • Loading branch information
julienp authored Jul 26, 2024
1 parent 6c84d21 commit d2502df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

- Fix compilation issue when running `azure-java` in `pulumi-java`
([#212](https://github.com/pulumi/pulumi-docker-containers/pull/212))

- Test Azure CLI and templates in the `pulumi/pulumi` image
([#208](https://github.com/pulumi/pulumi-docker-containers/pull/208))

Expand Down
2 changes: 1 addition & 1 deletion docker/java/Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ WORKDIR /pulumi/projects
RUN microdnf install -y \
git \
tar \
java-11-openjdk-headless \
java-11-openjdk-devel \
curl \
unzip \
zip \
Expand Down
5 changes: 0 additions & 5 deletions tests/containers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ func TestPulumiTemplateTests(t *testing.T) {
for _, sdk := range sdksToTest {
// python, typescript, ...
testCases = append(testCases, testCase{sdk, map[string]string{}})
if sdk == "java" {
// Don't add cloud-specific tests for Java.
// TODO: https://github.com/pulumi/pulumi-docker-containers/issues/210
continue
}
for _, cloud := range clouds {
// azure-python, aws-python, ...
if sdk == "typescript" && cloud == "azure" {
Expand Down

0 comments on commit d2502df

Please sign in to comment.