Skip to content

Commit 5475407

Browse files
authored
Generate non UBI based images for x-pack/beats (#23960)
1 parent ac60dcb commit 5475407

1 file changed

Lines changed: 60 additions & 0 deletions

File tree

dev-tools/packaging/packages.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,14 @@ specs:
781781
<<: *deb_rpm_spec
782782
<<: *elastic_license_for_deb_rpm
783783

784+
- os: linux
785+
arch: amd64
786+
types: [docker]
787+
spec:
788+
<<: *docker_spec
789+
<<: *elastic_docker_spec
790+
<<: *elastic_license_for_binaries
791+
784792
- os: linux
785793
arch: amd64
786794
types: [docker]
@@ -790,6 +798,14 @@ specs:
790798
<<: *elastic_docker_spec
791799
<<: *elastic_license_for_binaries
792800

801+
- os: linux
802+
arch: arm64
803+
types: [docker]
804+
spec:
805+
<<: *docker_arm_spec
806+
<<: *elastic_docker_spec
807+
<<: *elastic_license_for_binaries
808+
793809
- os: linux
794810
arch: arm64
795811
types: [docker]
@@ -873,6 +889,17 @@ specs:
873889
/usr/share/{{.BeatName}}/bin/{{.BeatName}}{{.BinaryExt}}:
874890
source: ./{{.XPackDir}}/{{.BeatName}}/build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}
875891

892+
- os: linux
893+
arch: amd64
894+
types: [docker]
895+
spec:
896+
<<: *docker_spec
897+
<<: *elastic_docker_spec
898+
<<: *elastic_license_for_binaries
899+
files:
900+
'{{.BeatName}}{{.BinaryExt}}':
901+
source: ./{{.XPackDir}}/{{.BeatName}}/build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}
902+
876903
- os: linux
877904
arch: amd64
878905
types: [docker]
@@ -885,6 +912,17 @@ specs:
885912
'{{.BeatName}}{{.BinaryExt}}':
886913
source: ./{{.XPackDir}}/{{.BeatName}}/build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}
887914

915+
- os: linux
916+
arch: arm64
917+
types: [docker]
918+
spec:
919+
<<: *docker_arm_spec
920+
<<: *elastic_docker_spec
921+
<<: *elastic_license_for_binaries
922+
files:
923+
'{{.BeatName}}{{.BinaryExt}}':
924+
source: ./{{.XPackDir}}/{{.BeatName}}/build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}
925+
888926
- os: linux
889927
arch: arm64
890928
types: [docker]
@@ -955,6 +993,17 @@ specs:
955993
symlink: true
956994
mode: 0755
957995

996+
- os: linux
997+
arch: amd64
998+
types: [docker]
999+
spec:
1000+
<<: *agent_docker_spec
1001+
<<: *elastic_docker_spec
1002+
<<: *elastic_license_for_binaries
1003+
files:
1004+
'{{.BeatName}}{{.BinaryExt}}':
1005+
source: ./build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}
1006+
9581007
- os: linux
9591008
arch: amd64
9601009
types: [docker]
@@ -967,6 +1016,17 @@ specs:
9671016
'{{.BeatName}}{{.BinaryExt}}':
9681017
source: ./build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}
9691018

1019+
- os: linux
1020+
arch: arm64
1021+
types: [docker]
1022+
spec:
1023+
<<: *agent_docker_arm_spec
1024+
<<: *elastic_docker_spec
1025+
<<: *elastic_license_for_binaries
1026+
files:
1027+
'{{.BeatName}}{{.BinaryExt}}':
1028+
source: ./build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}
1029+
9701030
- os: linux
9711031
arch: arm64
9721032
types: [docker]

0 commit comments

Comments
 (0)