view Dockerfile @ 13:be2f70ae6749 draft default tip

planemo upload for repository https://github.com/afgane/gcp_batch_netcat commit 2435de746d841f314b70f6257de0a3abaf77ec90
author enis
date Fri, 15 Aug 2025 13:14:31 +0000
parents 3fd12035e6c9
children
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 \
    nfs-common \
    && 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

# Note: Running as root to allow NFS mounting operations
# USER galaxy