Skip to content

Commit

Permalink
fix(docker): revert to clang-9 on runtime image
Browse files Browse the repository at this point in the history
Signed-off-by: Frederico Araujo <[email protected]>
  • Loading branch information
araujof committed Jul 26, 2022
1 parent e50f24f commit ba433a7
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 7 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
## [Unreleased]

## [0.4.4] - 2022-07-26

### Changed

- Bumped UBI version to 8.6-855

### Fixed

- Copies dkms to runtime image
- Revert clang version to clang-9 in docker image (eBPF prove is failing checks on clang-13)

## [0.4.3] - 2022-06-21

### Changed
Expand Down Expand Up @@ -194,7 +205,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

- First release candidate of SysFlow Collector.

[Unreleased]: https://github.com/sysflow-telemetry/sf-collector/compare/0.4.3...HEAD
[Unreleased]: https://github.com/sysflow-telemetry/sf-collector/compare/0.4.4...HEAD
[0.4.4]: https://github.com/sysflow-telemetry/sf-collector/compare/0.4.3...0.4.4
[0.4.3]: https://github.com/sysflow-telemetry/sf-collector/compare/0.4.2...0.4.3
[0.4.2]: https://github.com/sysflow-telemetry/sf-collector/compare/0.4.1...0.4.2
[0.4.1]: https://github.com/sysflow-telemetry/sf-collector/compare/0.4.0...0.4.1
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.ubi.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ ARG UBI_VER
FROM registry.access.redhat.com/ubi8/ubi:${UBI_VER} AS base

# Install Packages
# Copy in llvm 9.0 rpms. Sysdig's ebpf probe fails unless compiled with llvm 9.0 for now.
# https://github.com/falcosecurity/libs/issues/4
COPY ./scripts/dev/rpms /build/rpms
COPY ./scripts/installUBIDependency.sh /build/install.sh

RUN --mount=type=secret,id=rhuser --mount=type=secret,id=rhpassword \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Supported tags and respective `Dockerfile` links

- [`0.4.3`, `latest`](https://github.com/sysflow-telemetry/sf-collector/blob/0.4.3/Dockerfile), [`edge`](https://github.com/sysflow-telemetry/sf-collector/blob/master/Dockerfile), [`dev`](https://github.com/sysflow-telemetry/sf-collector/blob/dev/Dockerfile)
- [`0.4.4`, `latest`](https://github.com/sysflow-telemetry/sf-collector/blob/0.4.4/Dockerfile), [`edge`](https://github.com/sysflow-telemetry/sf-collector/blob/master/Dockerfile), [`dev`](https://github.com/sysflow-telemetry/sf-collector/blob/dev/Dockerfile)

# Quick reference

Expand All @@ -26,7 +26,7 @@
[docker hub](https://hub.docker.com/u/sysflowtelemetry) | [GHCR](https://github.com/orgs/sysflow-telemetry/packages)

- **Binary packages**:
[deb](https://github.com/sysflow-telemetry/sf-collector/releases/tag/0.4.3/sfcollector-0.4.3-x86_64.deb) | [rpm](https://github.com/sysflow-telemetry/sf-collector/releases/tag/0.4.3/sfcollector-0.4.3-x86_64.rpm) | [tgz](https://github.com/sysflow-telemetry/sf-collector/releases/tag/0.4.3/sfcollector-0.4.3-x86_64.tar.gz)
[deb](https://github.com/sysflow-telemetry/sf-collector/releases/tag/0.4.4/sfcollector-0.4.4-x86_64.deb) | [rpm](https://github.com/sysflow-telemetry/sf-collector/releases/tag/0.4.4/sfcollector-0.4.4-x86_64.rpm) | [tgz](https://github.com/sysflow-telemetry/sf-collector/releases/tag/0.4.4/sfcollector-0.4.4-x86_64.tar.gz)

# What is SysFlow?

Expand Down
4 changes: 2 additions & 2 deletions makefile.manifest.inc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

SYSFLOW_VERSION?=0.4.3
SYSFLOW_VERSION?=0.4.4
SYSFLOW_BUILD_NUMBER?=1
FALCO_VERSION=7750b6f
FALCO_LIBS_VERSION=319368f1ad778691164d33d59945e00c5752cd27
Expand All @@ -28,4 +28,4 @@ ELFUTILS_VERSION=elfutils-0.173
GLOG_VERSION=v0.5.0
SNAPPY_VERSION=1.1.9
DKMS_VERSION=v3.0.3
UBI_VERSION=8.6-754
UBI_VERSION=8.6-855
6 changes: 4 additions & 2 deletions scripts/installUBIDependency.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,12 @@ if [ "${MODE}" == "base" ] ; then
libstdc++-static \
boost-static \
sparsehash-devel \
bc \
llvm-toolset \
bc
&& dnf -y clean all ; rm -rf /var/cache/{dnf,yum}

# Install llvm 9
DIR=$(pwd) && cd /build/rpms/llvm && ./install.sh && cd $DIR

elif [ "${MODE}" == "test-extra" ] ; then
# additional packages for testing

Expand Down

0 comments on commit ba433a7

Please sign in to comment.