Skip to content

Commit

Permalink
移除 "microdnf upgrade -y"避免mongodb agent打出来的镜像的操作系统升级到最新版
Browse files Browse the repository at this point in the history
  • Loading branch information
usernameisnull committed Aug 26, 2024
1 parent 4ccead6 commit 3661ccc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-mongodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
cp ./ksmartdata/images/mongodb/config.json ./mongodb-kubernetes-operator/scripts/ci/config.json
cp ./ksmartdata/images/mongodb/operator-inventory.yaml ./mongodb-kubernetes-operator/inventories/operator-inventory.yaml
cp ./ksmartdata/images/mongodb/pipeline.py ./mongodb-kubernetes-operator/pipeline.py
cp ./ksmartdata/images/mongodb/Dockerfile.ubi ./mongodb-kubernetes-operator/scripts/dev/templates/agent/Dockerfile.ubi
cp ./ksmartdata/images/mongodb/Dockerfile.ubi ./mongodb-kubernetes-operator/scripts/dev/templates/agent/Dockerfile.ubi
- name: Build and Push Image To ghcr.io
working-directory: ./mongodb-kubernetes-operator
Expand Down
1 change: 0 additions & 1 deletion images/mongodb/Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ RUN microdnf install -y --disableplugin=subscription-manager --setopt=install_w
net-snmp-agent-libs
RUN microdnf install -y --disableplugin=subscription-manager curl \
hostname tar gzip procps jq \
&& microdnf upgrade -y \
&& rm -rf /var/lib/apt/lists/*

{% endblock -%}

0 comments on commit 3661ccc

Please sign in to comment.