Skip to content

Commit

Permalink
update the redhat ubi-micro image to latest 8.8-1 (#206)
Browse files Browse the repository at this point in the history
* updated the ubi-micro image to latest.

* add copyright header.
  • Loading branch information
VamsiSiddu-7 authored Jun 6, 2023
1 parent 3449aa6 commit 3825a76
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion overrides.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
#

# DEFAULT values
DEFAULT_BASEIMAGE="registry.access.redhat.com/ubi8/ubi-micro:8.7-8"
# ubi8/ubi-micro:8.8-1
DEFAULT_BASEIMAGE="registry.access.redhat.com/ubi8/ubi-micro:8.8-1"
DEFAULT_GOVERSION="1.20"
DEFAULT_REGISTRY="sample_registry"
DEFAULT_IMAGENAME="csi-vxflexos"
Expand Down
13 changes: 13 additions & 0 deletions scripts/build_ubi_micro.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
#!/bin/bash
#
# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License

microcontainer=$(buildah from $1)
micromount=$(buildah mount $microcontainer)
dnf install --installroot $micromount --releasever=8 --nodocs --setopt install_weak_deps=false --setopt=reposdir=/etc/yum.repos.d/ e4fsprogs xfsprogs libaio kmod numactl util-linux -y
Expand Down

0 comments on commit 3825a76

Please sign in to comment.