mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-19 00:08:42 +02:00
Optimized structure for Dockerfiles
This commit is contained in:
commit
2b75a2a3a5
6
.github/workflows/dockerhub_description.yml
vendored
6
.github/workflows/dockerhub_description.yml
vendored
@ -5,7 +5,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- 'trunk'
|
- 'trunk'
|
||||||
paths:
|
paths:
|
||||||
- "*/*/README.md"
|
- "Dockerfiles/*/*/README.md"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -36,9 +36,9 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
-
|
-
|
||||||
name: Update DockerHub repo description
|
name: Update DockerHub repo description
|
||||||
uses: peter-evans/dockerhub-description@v2
|
uses: peter-evans/dockerhub-description@v2.4.3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
repository: ${{ env.DOCKER_REPOSITORY }}/zabbix-${{ matrix.build }}
|
repository: ${{ env.DOCKER_REPOSITORY }}/zabbix-${{ matrix.build }}
|
||||||
readme-filepath: ./${{ matrix.build }}/${{ env.SUBDIR }}/README.md
|
readme-filepath: ./Dockerfiles/${{ matrix.build }}/${{ env.SUBDIR }}/README.md
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
name: CI
|
name: Images build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
@ -8,13 +8,12 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- '4.0'
|
- '4.0'
|
||||||
- '5.0'
|
- '5.0'
|
||||||
- '5.2'
|
|
||||||
- '5.4'
|
- '5.4'
|
||||||
- 'trunk'
|
- 'trunk'
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '.env*'
|
- 'env_vars/*'
|
||||||
- 'docker-compose*.yaml'
|
- 'docker-compose*.yaml'
|
||||||
- '*/rhel/*'
|
- 'Dockerfiles/*/rhel/*'
|
||||||
- "**.md"
|
- "**.md"
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
@ -174,8 +173,8 @@ jobs:
|
|||||||
id: docker_build
|
id: docker_build
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: ./${{ matrix.build }}/${{ matrix.os }}
|
context: ./Dockerfiles/${{ matrix.build }}/${{ matrix.os }}
|
||||||
file: ./${{ matrix.build }}/${{ matrix.os }}/Dockerfile
|
file: ./Dockerfiles/${{ matrix.build }}/${{ matrix.os }}/Dockerfile
|
||||||
platforms: ${{ steps.platform.outputs.list }}
|
platforms: ${{ steps.platform.outputs.list }}
|
||||||
push: ${{ secrets.AUTO_PUSH_IMAGES }}
|
push: ${{ secrets.AUTO_PUSH_IMAGES }}
|
||||||
tags: ${{ steps.prepare_tags.outputs.image_tag_versions }}
|
tags: ${{ steps.prepare_tags.outputs.image_tag_versions }}
|
1
Dockerfiles/agent/alpine/build.sh
Symbolic link
1
Dockerfiles/agent/alpine/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
1
Dockerfiles/agent/centos/build.sh
Symbolic link
1
Dockerfiles/agent/centos/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
1
Dockerfiles/agent/ol/build.sh
Symbolic link
1
Dockerfiles/agent/ol/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
1
Dockerfiles/agent/rhel/build.sh
Symbolic link
1
Dockerfiles/agent/rhel/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
1
Dockerfiles/agent/ubuntu/build.sh
Symbolic link
1
Dockerfiles/agent/ubuntu/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
1
Dockerfiles/agent2/alpine/build.sh
Symbolic link
1
Dockerfiles/agent2/alpine/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
1
Dockerfiles/agent2/ol/build.sh
Symbolic link
1
Dockerfiles/agent2/ol/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
1
Dockerfiles/agent2/rhel/build.sh
Symbolic link
1
Dockerfiles/agent2/rhel/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
1
Dockerfiles/agent2/ubuntu/build.sh
Symbolic link
1
Dockerfiles/agent2/ubuntu/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
1
Dockerfiles/java-gateway/alpine/build.sh
Symbolic link
1
Dockerfiles/java-gateway/alpine/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
1
Dockerfiles/java-gateway/centos/build.sh
Symbolic link
1
Dockerfiles/java-gateway/centos/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
@ -40,8 +40,6 @@ LABEL org.opencontainers.image.documentation="https://www.zabbix.com/documentati
|
|||||||
org.opencontainers.image.version="${ZBX_VERSION}" \
|
org.opencontainers.image.version="${ZBX_VERSION}" \
|
||||||
org.opencontainers.image.source="${ZBX_SOURCES}"
|
org.opencontainers.image.source="${ZBX_SOURCES}"
|
||||||
|
|
||||||
COPY ["conf/etc/", "/etc/"]
|
|
||||||
|
|
||||||
RUN set -eux && REPOLIST="ol8_baseos_latest,ol8_appstream" && \
|
RUN set -eux && REPOLIST="ol8_baseos_latest,ol8_appstream" && \
|
||||||
INSTALL_PKGS="autoconf \
|
INSTALL_PKGS="autoconf \
|
||||||
automake \
|
automake \
|
1
Dockerfiles/java-gateway/ol/build.sh
Symbolic link
1
Dockerfiles/java-gateway/ol/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
1
Dockerfiles/java-gateway/rhel/build.sh
Symbolic link
1
Dockerfiles/java-gateway/rhel/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
1
Dockerfiles/java-gateway/ubuntu/build.sh
Symbolic link
1
Dockerfiles/java-gateway/ubuntu/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
1
Dockerfiles/proxy-mysql/alpine/build.sh
Symbolic link
1
Dockerfiles/proxy-mysql/alpine/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
1
Dockerfiles/proxy-mysql/centos/build.sh
Symbolic link
1
Dockerfiles/proxy-mysql/centos/build.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../build.sh
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user