FROM ubuntu:xenial

ENV DEBIAN_FRONTEND noninteractive

WORKDIR /app

RUN apt-get update -yq
RUN apt-get install -yq --no-install-recommends --no-install-suggests \
  build-essential \
  curl \
  file \
  gdb \
  git \
  man \
  sudo \
  vim-tiny \
  zsh
RUN echo "kernel.yama.ptrace_scope = 0" > /etc/sysctl.d/10-ptrace.conf

CMD ["zsh", "-l"]