Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openapi/openapi-generator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM maven:3.9.6-eclipse-temurin-11
FROM docker.io/library/maven:3.9.6-eclipse-temurin-11

# Install preprocessing script requirements
RUN apt-get update && apt-get -y install git python3-pip && pip install urllib3==1.24.2
Expand Down
3 changes: 2 additions & 1 deletion openapi/openapi-generator/client-generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ kubeclient::generator::generate_client() {
CLEANUP_DIRS_STRING="${CLEANUP_DIRS[@]}"

echo "--- Running generator inside container..."
docker run --rm --security-opt="label=disable" -u $(id -u) \
docker run --rm --security-opt="label=disable" \
--userns=keep-id -u "$(id -u):$(id -g)" \
-e CLEANUP_DIRS="${CLEANUP_DIRS_STRING}" \
-e KUBERNETES_BRANCH="${KUBERNETES_BRANCH}" \
-e CLIENT_VERSION="${CLIENT_VERSION}" \
Expand Down