mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-25 01:04:01 +01:00
Updated
This commit is contained in:
parent
bb6fc07076
commit
c006f9044f
10
.github/workflows/images_build_test.yml
vendored
10
.github/workflows/images_build_test.yml
vendored
@ -860,6 +860,9 @@ jobs:
|
||||
# Chromium on Ubuntu is not available on s390x platform
|
||||
elif [ "$MATRIX_OS" == "ubuntu" ] && [ "$MATRIX_BUILD" == "web-service" ]; then
|
||||
platform_list="linux/amd64,linux/arm/v7,linux/arm64"
|
||||
# Chromium on RedHat is not available on ppc64le, s390x platforms
|
||||
elif [ "$MATRIX_OS" == "rhel" ] && [ "$MATRIX_BUILD" == "web-service" ]; then
|
||||
platform_list="linux/amd64,linux/arm64"
|
||||
else
|
||||
platform_list=$(jq -r ".[\"os-linux\"].\"$MATRIX_OS\" | join(\",\")" "$MATRIX_FILE")
|
||||
fi
|
||||
@ -981,6 +984,13 @@ jobs:
|
||||
cp -R "/tmp/secrets/" "$CONTEXT/"
|
||||
ls -lah "$CONTEXT/"
|
||||
|
||||
- name: Remove smartmontools
|
||||
if: ${{ matrix.build == 'agent2' && matrix.os == 'rhel' }}
|
||||
env:
|
||||
DOCKERFILES_DIRECTORY: ${{ env.DOCKERFILES_DIRECTORY }}
|
||||
run: |
|
||||
sed -i '/smartmontools/d' "$DOCKERFILES_DIRECTORY/agent2/rhel/Dockerfile"
|
||||
|
||||
- name: Login to DockerHub
|
||||
if: ${{ env.AUTO_PUSH_IMAGES == 'true' }}
|
||||
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
|
||||
|
@ -65,12 +65,10 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
smartmontools \
|
||||
sudo \
|
||||
libcurl-minimal" && \
|
||||
ARCH_SUFFIX="$(arch)"; \
|
||||
microdnf -y install \
|
||||
--disableplugin=subscription-manager \
|
||||
--disablerepo "*" \
|
||||
--enablerepo "ubi-9-baseos-rpms" \
|
||||
--enablerepo "rhel-9-for-$ARCH_SUFFIX-baseos-beta-rpms" \
|
||||
--enablerepo "epel" \
|
||||
--setopt=install_weak_deps=0 \
|
||||
--setopt=keepcache=0 \
|
||||
|
BIN
Dockerfiles/build-base/rhel/secrets.tar.gz
Normal file
BIN
Dockerfiles/build-base/rhel/secrets.tar.gz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user