Skip to content

Commit 3d0d446

Browse files
committed
Merge branch 'main' into fix-stow
2 parents eed744b + b5dc4bf commit 3d0d446

File tree

5 files changed

+16
-11
lines changed

5 files changed

+16
-11
lines changed

.devfile.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ components:
88
- name: devtools
99
container:
1010
image: quay.io/devfile/universal-developer-image:ubi9-latest
11-
memoryLimit: 2Gi
11+
memoryLimit: 6Gi
1212
memoryRequest: 256Mi

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ docker run -ti --rm \
129129
| `yarn` |`<via npm>` |
130130
|--------GO-----------|-------------------------------------|
131131
| `go` |`go-toolset` |
132-
| `gopls` |`golang.org/x/tools/gopls` |
132+
| `gopls` |`golang.org/x/tools/gopls v0.16.2` |
133133
|--------.NET---------|-------------------------------------|
134134
| `dotnet` |`dotnet-sdk-8.0` |
135135
|------PYTHON---------|-------------------------------------|
@@ -173,7 +173,7 @@ JAVA_HOME_8, JAVA_HOME_11, JAVA_HOME_17, JAVA_HOME_21
173173

174174
# Builds
175175

176-
This repo contains [actions](https://github.com/eclipse-che/che-operator/actions), including:
176+
This repo contains [actions](https://github.com/devfile/developer-images/actions), including:
177177
* [![release latest stable](https://github.com/devfile/developer-images/actions/workflows/ubi9-build.yaml/badge.svg)](https://github.com/devfile/developer-images/actions/workflows/ubi9-build.yaml)
178178

179179
Downstream builds can be found at the link below, which is _internal to Red Hat_. Stable builds can be found by replacing the 3.x with a specific version like 3.2.

base/ubi9/Dockerfile

-5
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,6 @@ RUN mkdir -p /var/lib/shared/overlay-images /var/lib/shared/overlay-layers; \
117117
touch /var/lib/shared/overlay-images/images.lock; \
118118
touch /var/lib/shared/overlay-layers/layers.lock
119119

120-
# But use VFS since not all environments support overlay with Fuse backend
121-
RUN mkdir -p "${HOME}"/.config/containers && \
122-
(echo '[storage]';echo 'driver = "vfs"') > "${HOME}"/.config/containers/storage.conf && \
123-
chown -R 10001 "${HOME}"/.config
124-
125120
# Add kubedock
126121
ENV KUBEDOCK_VERSION 0.17.0
127122
ENV KUBECONFIG=/home/user/.kube/config

base/ubi9/entrypoint.sh

+10
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ if [ ! -d "${HOME}" ]; then
55
mkdir -p "${HOME}"
66
fi
77

8+
# Configure container builds to use vfs or fuse-overlayfs
9+
if [ ! -d "${HOME}/.config/containers" ]; then
10+
mkdir -p ${HOME}/.config/containers
11+
if [ -c "/dev/fuse" ] && [ -f "/usr/bin/fuse-overlayfs" ]; then
12+
(echo '[storage]';echo 'driver = "overlay"';echo '[storage.options.overlay]';echo 'mount_program = "/usr/bin/fuse-overlayfs"') > ${HOME}/.config/containers/storage.conf
13+
else
14+
(echo '[storage]';echo 'driver = "vfs"') > "${HOME}"/.config/containers/storage.conf
15+
fi
16+
fi
17+
818
# Setup $PS1 for a consistent and reasonable prompt
919
if [ -w "${HOME}" ] && [ ! -f "${HOME}"/.bashrc ]; then
1020
echo "PS1='[\u@\h \W]\$ '" > "${HOME}"/.bashrc

universal/ubi9/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ RUN curl -fLo mill https://raw.githubusercontent.com/lefou/millw/main/millw && \
117117
# C/CPP
118118
RUN dnf -y install llvm-toolset gcc gcc-c++ clang clang-libs clang-tools-extra gdb
119119

120-
# Go 1.18+ - installed to /usr/bin/go
121-
# gopls 0.10+ - installed to /home/tooling/go/bin/gopls and /home/tooling/go/pkg/mod/
120+
# Go 1.22+ - installed to /usr/bin/go
121+
# gopls 0.16.2+ - installed to /home/tooling/go/bin/gopls and /home/tooling/go/pkg/mod/
122122
RUN dnf install -y go-toolset && \
123-
GO111MODULE=on go install -v golang.org/x/tools/gopls@latest && \
123+
GO111MODULE=on go install -v golang.org/x/tools/gopls@v0.16.2 && \
124124
chgrp -R 0 /home/tooling && chmod -R g=u /home/tooling
125125
ENV GOBIN="/home/tooling/go/bin/"
126126
ENV PATH="$GOBIN:$PATH"

0 commit comments

Comments
 (0)