master
root 2022-11-18 14:23:11 +00:00
commit 2bb25b5063
4 changed files with 23 additions and 0 deletions

16
Dockerfile Executable file
View File

@ -0,0 +1,16 @@
FROM ubuntu:22.04
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y socat
RUN apt-get install -y libssl-dev
WORKDIR /root
COPY ./s3 ./s3
RUN chmod +x ./s3
EXPOSE 8392
ENTRYPOINT socat -d TCP-LISTEN:8392,reuseaddr,fork EXEC:'timeout -k 5 120 /root/s3',pty,raw,stderr,echo=0

7
docker-compose.yml Executable file
View File

@ -0,0 +1,7 @@
version: '3.3'
services:
s3:
build: .
ports:
- "8392:8392"

0
passwords Executable file
View File

BIN
s3 Executable file

Binary file not shown.