Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update UDI dockerfile to go1.18 #48

Merged
merged 2 commits into from
Dec 8, 2022

Conversation

nickboldt
Copy link
Contributor

@nickboldt nickboldt commented Dec 8, 2022

What does this PR do?

chore: dockerfile update
since ubi8 images now include go1.18 rpms, we need to update the go get command to go install;
also dedupe the rpm cleanup commands and set an older tag so we can verify new GHA works with eclipse-che/che#21575

Signed-off-by: Nick Boldt [email protected]

Screenshot/screencast of this PR

N/A

What issues does this PR fix or reference?

Last good build: https://github.com/devfile/developer-images/actions/runs/3410216777/jobs/5672905276 (used golang 1.17 with go get)

Last build: https://github.com/devfile/developer-images/actions/runs/3643285736/jobs/6165373421 (used golang 1.18; failed due to error 'go get' is no longer supported outside a module.)

How to test this PR?

  1. merge it and watch https://github.com/devfile/developer-images/actions/workflows/ubi8-build.yaml

  2. then check quay for new images at:

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

since ubi8 images now include go1.18 rpms, we need to update the go get command to go install;
also dedupe the rpm cleanup commands and set an older tag so we can verify #21575 new GHA works

Signed-off-by: Nick Boldt <[email protected]>
@nickboldt nickboldt changed the title chore: dockerfile update since ubi8 images... chore: update UDI dockerfile to go1.18 Dec 8, 2022
@nickboldt nickboldt requested review from l0rd and SDawley December 8, 2022 17:10
@openshift-ci
Copy link

openshift-ci bot commented Dec 8, 2022

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ibuziuk, nickboldt

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nickboldt nickboldt merged commit 6fe5541 into main Dec 8, 2022
@nickboldt nickboldt deleted the go118-doesn-t-work-with-go-get-switch-to-go-install branch December 8, 2022 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants