Skip to content

Instantly share code, notes, and snippets.

@CreateRemoteThread
Created May 21, 2018 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CreateRemoteThread/cac2e173afb479dd9d4206b6f15eb69e to your computer and use it in GitHub Desktop.
Save CreateRemoteThread/cac2e173afb479dd9d4206b6f15eb69e to your computer and use it in GitHub Desktop.
FROM ubuntu:latest
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update && apt-get install -y php python3 nodejs ruby && mkdir /app
WORKDIR /app
# build: docker build -t rctf_cats .
# judge: docker run -it --rm --network none -v /tmp/yourCatFood:/app/food:ro rctf_cats bash -c "timeout 5 diff -Z <(cat food) <(eachCatNameYouProvided food)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment