Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
FROM ubuntu:18.04
FROM ubuntu:22.04
MAINTAINER g00fb4ll <sshayb@gmail.com>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because you're not a direct maintainer anymore @sshayb, we won't accept this line for the BB repo.

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
ADD https://download.docker.com/linux/static/stable/x86_64/docker-24.0.8.tgz /tmp/docker/docker-24.0.8.tgz
RUN tar -zxvf /tmp/docker/docker-24.0.8.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
ADD https://dl.k8s.io/release/v1.27.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
ADD https://github.com/cyberark/kubeletctl/releases/download/v1.11/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 && \
RUN apt-get -y update
RUN apt-get install -y curl
RUN 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
apt-get -y install netdiscover && apt-get install tcpdump

WORKDIR /tmp
RUN ln -s /bin/bash /tmp/gbash
RUN ln -s /usr/bin/nsenter /tmp/runc-nsenter

CMD ["/tmp/gbash"]
CMD ["/tmp/gbash"]