view Dockerfile @ 8:7c660a6be068 draft

planemo upload for repository https://github.com/afgane/gcp_batch_netcat commit ece227052d14d755b0d0b07a827152b2e98fb94b-dirty
author enis
date Thu, 24 Jul 2025 23:01:40 +0000
parents b2ce158b4f22
children 3fd12035e6c9
line wrap: on
line source

FROM google/cloud-sdk:latest

# Install essential networking and debugging tools
RUN apt-get update && apt-get install -y \
    python3 \
    python3-pip \
    netcat-openbsd \
    iproute2 \
    iputils-ping \
    dnsutils \
    curl \
    wget \
    telnet \
    traceroute \
    net-tools \
    tcpdump \
    nmap \
    vim \
    && rm -rf /var/lib/apt/lists/*

RUN pip3 install --break-system-packages google-cloud-batch

RUN groupadd -g 10001 galaxy && useradd -u 10001 -g 10001 -m -s /bin/bash galaxy

# Add bash alias for ll
RUN echo "alias ll='ls -l'" >> /home/galaxy/.bashrc && \
    chown galaxy:galaxy /home/galaxy/.bashrc

USER galaxy