view Dockerfile @ 9:3fd12035e6c9 draft

planemo upload for repository https://github.com/afgane/gcp_batch_netcat commit 4194f0defc4bebd6c95c76b58860c9ae6b9d1899-dirty
author enis
date Sun, 10 Aug 2025 21:32:04 +0000
parents b2ce158b4f22
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