Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
asapo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joao Alvim Oliveira Dias De Almeida
asapo
Commits
5336c57e
Commit
5336c57e
authored
3 years ago
by
George Sedov
Browse files
Options
Downloads
Patches
Plain Diff
docker image script update
parent
2dc64e90
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
receiver/docker/Dockerfile
+2
-1
2 additions, 1 deletion
receiver/docker/Dockerfile
receiver/docker/install_rdkafka.sh
+15
-0
15 additions, 0 deletions
receiver/docker/install_rdkafka.sh
with
17 additions
and
1 deletion
receiver/docker/Dockerfile
+
2
−
1
View file @
5336c57e
FROM
ubuntu:18.04
ADD
receiver /
ADD
install_libfabric.sh install_libfabric.sh
RUN
apt update
&&
./install_libfabric.sh
ADD
install_rdkafka.sh install_rdkakfa.sh
RUN
apt update
&&
./install_libfabric.sh
&&
./install_rdkakfa.sh
CMD
["/receiver","/var/lib/receiver/config.json"]
This diff is collapsed.
Click to expand it.
receiver/docker/install_rdkafka.sh
0 → 100755
+
15
−
0
View file @
5336c57e
#!/usr/bin/env bash
apt
install
-y
wget build-essential autoconf libtool make zlib1g-dev libzstd-dev
wget https://github.com/edenhill/librdkafka/archive/refs/tags/v1.8.2.tar.gz
tar
xzf v1.8.2.tar.gz
cd
librdkafka-1.8.2
./configure
--enable-zlib
--enable-zstd
--disable-lz4
--disable-lz4-ext
--disable-ssl
--disable-gssapi
--disable-sasl
make
-j
4
make
install
ldconfig
cd
-
rm
-rf
librdkafka-1.8.2
rm
v1.8.2.tar.gz
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment