Skip to content

Commit a3f003d

Browse files
committed
ubuntu18.04 base image start
1 parent 28cb5bb commit a3f003d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

ubuntu/18.04/Dockerfile

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Copyright (c) 2022 codeperf.
2+
3+
FROM ubuntu:18.04
4+
5+
RUN apt-get update && \
6+
DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y gnupg2 ca-certificates
7+
8+
# install perf
9+
RUN apt-get update; \
10+
apt-get install -y --no-install-recommends ca-certificates dirmngr gnupg wget
11+
12+
RUN apt-get install -y --no-install-recommends \
13+
linux-tools-$(uname -r) linux-headers-$(uname -r)
14+
15+
# check perf is available
16+
RUN perf list
17+
18+
# # repository to install BCC
19+
# RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4052245BD4284CDD
20+
# RUN echo "deb https://repo.iovisor.org/apt/bionic bionic main" > /etc/apt/sources.list.d/iovisor.list
21+
22+
# RUN apt-get update && \
23+
# DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
24+
# bcc-tools libbcc-examples linux-headers-$(uname -r)

0 commit comments

Comments
 (0)