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

Update gopls and kubedock #749

Open
wants to merge 2 commits into
base: devspaces-3.20-rhel-9
Choose a base branch
from

Conversation

dkwon17
Copy link
Contributor

@dkwon17 dkwon17 commented Apr 4, 2025

This PR updates updates gopls to 0.18.1 and kubedock to 0.18.1.

@dkwon17 dkwon17 requested review from svor, ibuziuk and SDawley as code owners April 4, 2025 17:47
# https://registry.access.redhat.com/ubi9/go-toolset
FROM registry.redhat.io/ubi9/go-toolset:9.5-1743582279 as go-builder
#@follow_tag(registry-proxy.engineering.redhat.com/rh-osbs/openshift-golang-builder:rhel_9_1.23)
FROM registry-proxy.engineering.redhat.com/rh-osbs/openshift-golang-builder:v1.23.6-202503041452.g6c23478.el9 AS go-builder
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've changed the builder image because go 1.23.4 is required to build gopls and kubedock

Signed-off-by: David Kwon <[email protected]>
@@ -29,19 +28,19 @@ RUN \
echo 'replace golang.org/x/tools => ../' >> go.mod && \
# build gopls application with dependencies resolved by Cachito (which are also resolved for 'tools' dependency)
source $REMOTE_SOURCES_DIR/gopls/cachito.env && \
GO111MODULE=on go build -o gopls && \
./gopls version && \
GO111MODULE=on go build -mod=mod -o gopls && \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was added because there was an error with gomod vendoring when:

remote_sources_version: 2

in container.yaml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant