# Filebeat package 7.10.2

**URL:** <https://discuss.elastic.co/t/filebeat-package-7-10-2/370495>\
**Category:** Beats\
**Tags:** docker, filebeat\
**Created:** [November 13, 2024, 4:33pm UTC](https://discuss.elastic.co/t/filebeat-package-7-10-2/370495 "2024-11-13T16:33:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nahuel978](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@nahuel978](https://discuss.elastic.co/u/nahuel978)\
**Post date:** [November 13, 2024, 4:33pm UTC](https://discuss.elastic.co/t/filebeat-package-7-10-2/370495/1 "2024-11-13T16:33:13Z")

</div>

Hello everyone!

I am trying to generate the packages for Filebeat version 7.10.2, specifically for amd64 and arm64 architectures, and deb and rpm package types. To do this, I ran the following command inside the Filebeat repository:

```auto
PLATFORMS=linux/amd64 make snapshot

```

This command should create two packages: one .deb and one .rpm. However, during the process, I encountered the following error:

```auto
 1 warning found (use docker --debug to expand):
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 46)
Dockerfile:18
--------------------
  16 |     
  17 | FROM centos:7
  18 | >>> RUN yum -y --setopt=tsflags=nodocs update && yum clean all
  19 |     
  20 | LABEL \
--------------------
ERROR: failed to solve: process "/bin/sh -c yum -y --setopt=tsflags=nodocs update && yum clean all" did not complete successfully: exit code: 1
Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
Require just the needed backports instead, or 'backports/latest'.
Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
Require just the needed backports instead, or 'backports/latest'.
package ran for 2m35.759903707s
Error: failed building filebeat-oss type=docker for platform=linux/amd64: failed to build docker: running "docker build -t docker.elastic.co/beats/filebeat-oss:7.10.2-SNAPSHOT build/package/filebeat-oss/filebeat-oss-linux-amd64.docker/docker-build" failed with exit code 1
make: *** [../libbeat/scripts/Makefile:487: snapshot] Error 1

```

Could anyone guide me on how to solve this problem or if there is any additional step missing to generate the packages correctly?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![strawgate](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/strawgate/32/131008_2.png) [@strawgate](https://discuss.elastic.co/u/strawgate)\
**Post date:** [November 16, 2024, 7:56pm UTC](https://discuss.elastic.co/t/filebeat-package-7-10-2/370495/2 "2024-11-16T19:56:49Z")

</div>

This is likely caused by centos 7 end of life [What to know about CentOS Linux EOL](https://www.redhat.com/en/topics/linux/centos-linux-eol)

With the removal of the package repositories, yum update fails on centos 7. You could try removing the yum update from the docker file or you could try switching to a supported base image.

7.10.2 is almost 4 years old at this point so you should definitely consider moving to a more recent version
