Skip to content

Fix: Docker build failing (SSH auth and Interactive prompt) #461

@arthurgehrke

Description

@arthurgehrke

Hello! I encountered two issues while trying to build the Docker image:

  1. The git clone command was using the SSH URL (git@github.com...), which fails for users without their SSH keys added to the container.
  2. The ./install.sh script is interactive and hangs the Docker build waiting for user input.

Suggested Fix in Dockerfile:
I switched the URL to HTTPS and piped echo "y" to the install script to bypass the prompt.

# Replaced git@github.com with https and added echo "y"
RUN git clone [https://github.com/1N3/Sn1per.git](https://github.com/1N3/Sn1per.git) \
    && cd Sn1per \
    && echo "y" | ./install.sh \
    && sniper -u force

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions