Corrected URL

This commit is contained in:
colin 2024-05-01 02:27:25 +00:00
parent 7daed447ef
commit e1e3ce7797
1 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@
FROM alpine:latest as builder
# Add the binary directly from the URL
ADD https://git.nixc.us/colin/ssh-timeout/src/branch/main/dist/ssh-timeout_linux_amd64_static /ssh-timeout
ADD https://git.nixc.us/colin/ssh-timeout/raw/branch/main/dist/ssh-timeout /ssh-timeout
# Set execute permissions on the binary
RUN chmod +x /ssh-timeout
@ -20,4 +20,3 @@ ENV LISTEN_ADDR=":2222"
# Command to run the binary
CMD ["/ssh-timeout"]