Skip to content

Commit

Permalink
[Snyk] Security upgrade golang from 1.19.5 to 1.19.6 (#34967) (#34978)
Browse files Browse the repository at this point in the history
* fix: libbeat/Dockerfile to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3065656
- https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320498
- https://snyk.io/vuln/SNYK-DEBIAN11-GIT-3232722
- https://snyk.io/vuln/SNYK-DEBIAN11-GIT-3232724
- https://snyk.io/vuln/SNYK-DEBIAN11-LIBTASN16-3061097

* Update libbeat/Dockerfile

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co>
(cherry picked from commit 229c8c5)

# Conflicts:
#	libbeat/Dockerfile

Co-authored-by: platform-ingest <124924698+platform-ingest@users.noreply.github.com>
  • Loading branch information
mergify[bot] and platform-ingest authored Mar 30, 2023
1 parent 82fb7c6 commit 333454a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions libbeat/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM golang:1.19.7

RUN \
apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
netcat \
libpcap-dev \
python3 \
python3-pip \
python3-venv \
&& rm -rf /var/lib/apt/lists/*

RUN pip3 install --upgrade pip==20.1.1
RUN pip3 install --upgrade setuptools==47.3.2
RUN pip3 install --upgrade docker-compose==1.23.2

# Libbeat specific
RUN mkdir -p /etc/pki/tls/certs

0 comments on commit 333454a

Please sign in to comment.