File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : ci
2+
3+ on :
4+ push :
5+ branches :
6+ - " main"
7+
8+ jobs :
9+ docker :
10+ runs-on : ubuntu-latest
11+ steps :
12+ -
13+ name : Checkout
14+ uses : actions/checkout@v3
15+ -
16+ name : Set up Docker Buildx
17+ uses : docker/setup-buildx-action@v2
18+ -
19+ name : Login to Docker Hub
20+ uses : docker/login-action@v2
21+ with :
22+ username : ${{ github.repository_owner }}
23+ password : ${{ secrets.DOCKERHUB_TOKEN }}
24+ -
25+ name : Build and push
26+ uses : docker/build-push-action@v4
27+ with :
28+ context : .
29+ platforms : linux/amd64
30+ push : true
31+ tags : ${{ github.repository }}
Original file line number Diff line number Diff line change 1+ FROM alpine:latest
2+ RUN apk add --no-cache \
3+ bash \
4+ curl \
5+ git \
6+ jq yq \
7+ bridge-utils iproute2 \
8+ picocom \
9+ mtr traceroute \
10+ ethtool \
11+ tcpdump tshark \
12+ iputils \
13+ bind-tools \
14+ net-tools \
15+ nmap \
16+ socat \
17+ iptables \
18+ netcat-openbsd \
19+ procps \
20+ strace \
21+ lsof \
22+ drill \
23+ tzdata \
24+ rclone \
25+ iperf3 \
26+ ca-certificates openssl \
27+ nano \
28+ zip unzip xz bzip2 zstd tar \
29+ e2fsprogs xfsprogs \
30+ lvm2 mdadm \
31+ gptfdisk \
32+ nvme-cli smartmontools \
33+ kubectl
34+ WORKDIR /
35+ CMD ["/bin/bash" ]
36+
You can’t perform that action at this time.
0 commit comments