Files
wehub-resource-sync 4e0f4422d0
build-docs / deploy (push) Has been cancelled
Check Markdown links / markdown-link-check (push) Has been cancelled
Pytest / test (3.11) (push) Has been cancelled
Pytest / test (3.12) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:25:42 +08:00

21 lines
502 B
Docker
Executable File

FROM ubuntu:14.04
MAINTAINER unknonwn
LABEL Description="CSAW 2016 LCG" VERSION='1.0'
#installation
RUN dpkg --add-architecture i386
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y build-essential socat
#user
RUN adduser --disabled-password --gecos '' katy
RUN chown -R root:katy /home/katy/
RUN chmod 750 /home/katy
#Copying file
WORKDIR /home/katy/
COPY server /home/katy
#Run the program with socat
CMD su katy -c "socat TCP-LISTEN:4242,reuseaddr,fork EXEC:/home/katy/server"