Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sflow
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
prp
sflow
Commits
6c1f4744
Commit
6c1f4744
authored
1 year ago
by
Neil McKee
Browse files
Options
Downloads
Patches
Plain Diff
Update Dockerfile
parent
7431e60e
No related branches found
No related tags found
No related merge requests found
Pipeline
#43808
failed
1 year ago
Stage: build-and-push
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
agent-arm/Dockerfile
+33
-0
33 additions, 0 deletions
agent-arm/Dockerfile
with
33 additions
and
0 deletions
agent-arm/Dockerfile
+
33
−
0
View file @
6c1f4744
FROM
golang:bullseye
as
gobuilder
RUN
git clone https://github.com/sflow/host-sflow
\
&&
cd
host-sflow
\
&&
make all
install
FEATURES
=
"CONTAINERDGO"
FROM
ubuntu:20.04
as
builder
ARG
DEBIAN_FRONTEND=noninteractive
RUN
echo
"UPDATE"
&&
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
git
\
gcc
\
make
RUN
echo
"EXTRAS"
&&
apt-get
install
-y
--no-install-recommends
\
libpcap-dev
\
libssl-dev
\
libdbus-1-dev
\
uuid-dev
RUN
echo
"CERTS"
&&
apt-get
install
-y
--reinstall
ca-certificates
RUN
git clone https://github.com/sflow/host-sflow
\
&&
cd
host-sflow
\
&&
make all
install
FEATURES
=
"PCAP TCP DOCKER DROPMON CONTAINERD K8S"
PROCFS
=
/rootproc
FROM
ubuntu:20.04
RUN
echo
"UPDATE"
&&
apt-get update
RUN
echo
"EXTRAS"
&&
apt-get
install
-y
--no-install-recommends
\
libpcap-dev
\
libssl-dev
\
libdbus-1-dev
\
uuid-runtime
\
dmidecode
COPY
--from=gobuilder /usr/sbin/hsflowd_containerd /usr/sbin/hsflowd_containerd
COPY
--from=builder /usr/sbin/hsflowd /usr/sbin/hsflowd
COPY
--from=builder /etc/hsflowd.conf /etc/hsflowd.conf
COPY
--from=builder /etc/hsflowd/modules/* /etc/hsflowd/modules/
CMD
/usr/sbin/hsflowd -m `uuidgen` -d -D /var/log/hsflowd.log -F /etc/hsflowd.debug
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