-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (17 loc) · 1008 Bytes
/
Dockerfile
File metadata and controls
24 lines (17 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM alpine:edge
#default 3.14
LABEL maintainer="rubinus.chu@gmail.com"
#设置国内镜像
RUN echo 'https://mirrors.ustc.edu.cn/alpine/latest-stable/community' > /etc/apk/repositories && \
echo 'https://mirrors.ustc.edu.cn/alpine/latest-stable/main' >> /etc/apk/repositories && \
echo 'https://mirrors.ustc.edu.cn/alpine/edge/community' > /etc/apk/repositories && \
echo 'https://mirrors.ustc.edu.cn/alpine/edge/main' >> /etc/apk/repositories && \
echo 'https://mirrors.ustc.edu.cn/alpine/edge/testing' >> /etc/apk/repositories
RUN apk update
ENV TZ=Asia/Shanghai
RUN apk add --no-cache tzdata && ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apk add --upgrade --no-cache openssl openssl-dev nghttp2-dev ca-certificates
RUN apk add --upgrade --no-cache busybox-extras curl sysstat tcpdump perf procps linux-tools wrk
##安装bpf
#RUN apk add --upgrade bcc bcc-tools && ln -s $(which python3) /usr/bin/python
#RUN cp -r /usr/share/bcc/tools/* /usr/bin/