-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
19 lines (16 loc) · 808 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM ubuntu:18.04
COPY fubers /tmp/fubers
ADD https://download.docker.com/linux/static/stable/x86_64/docker-20.10.7.tgz /tmp/docker/docker-20.10.7.tgz
RUN tar -zxvf /tmp/docker/docker-20.10.7.tgz -C /tmp
RUN cp /tmp/docker/docker /tmp/gdocker
ADD https://dl.k8s.io/release/v1.18.0/bin/linux/amd64/kubectl /tmp/gkubectl
RUN chmod +x /tmp/gkubectl
ADD https://github.com/cyberark/kubeletctl/releases/download/v1.7/kubeletctl_linux_amd64 /tmp/kubeletctl
RUN chmod a+x /tmp/kubeletctl
RUN apt-get -y update && apt-get install -y curl && apt-get -y install wget && \
apt-get -y install netcat && apt-get install sudo && apt-get -y install redis-tools && \
apt-get -y install netdiscover
WORKDIR /tmp
RUN ln -s /bin/bash /tmp/gbash
RUN ln -s /usr/bin/nsenter /tmp/runc-nsenter
CMD ["/tmp/gbash"]