Skip to content
Snippets Groups Projects
Dockerfile 546 B
Newer Older
  • Learn to ignore specific revisions
  • qweqweasdasd's avatar
    qweqweasdasd committed
    FROM jenkins/ssh-agent:4.1.0
    
    Marica Antonacci's avatar
    Marica Antonacci committed
    
    
    qweqweasdasd's avatar
    qweqweasdasd committed
    ARG ORCHENT_VERSION=1.2.9
    
    Marica Antonacci's avatar
    Marica Antonacci committed
    
    
    qweqweasdasd's avatar
    qweqweasdasd committed
    RUN DEBIAN_FRONTEND=noninteractive apt-get update \
    
    Marica Antonacci's avatar
    Marica Antonacci committed
        && apt-get install -y --no-install-recommends wget git ansible python3-pip \
    
    Marica Antonacci's avatar
    Marica Antonacci committed
        && wget https://github.com/indigo-dc/orchent/releases/download/v${ORCHENT_VERSION}/orchent_${ORCHENT_VERSION}_amd64.deb \
        && dpkg -i orchent_${ORCHENT_VERSION}_amd64.deb \
    
    Marica Antonacci's avatar
    Marica Antonacci committed
        && rm orchent_${ORCHENT_VERSION}_amd64.deb \
    
    Marica Antonacci's avatar
    Marica Antonacci committed
        && apt-get clean && rm -rf /var/lib/apt/lists/*
    
    Gioacchino Vino's avatar
    Gioacchino Vino committed
    RUN pip install gvm-tools jq yq
    
    Gioacchino Vino's avatar
    Gioacchino Vino committed
    ENTRYPOINT ["/usr/local/bin/setup-sshd"]