content: FROM ubuntu:16.04
  
  ARG uid=1000
  
  RUN apt-get update && \
      apt-get install -y \
        pkg-config \
        libssl-dev \
        libgmp3-dev \
        curl \
        build-essential \
        libsqlite3-dev \
        cmake \
        git \
        python3.5 \
        python3-pip \
        python-setuptools \
        apt-transport-https \
        ca-certificates \
        debhelper \
        wget \
        devscripts \
        libncursesw5-dev \
        libzmq3-dev \
        zip \
        unzip \
        jq
  
  # install nodejs and npm
  RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
  RUN apt-get install -y nodejs
  
  RUN pip3 install -U \
  	'pip<21.0' \
  	'setuptools<=50.3.2' \
  	virtualenv \
  	twine==1.15.0 \
  	plumbum==1.6.7 six==1.12.0 \
  	deb-pkg-tools
  
  RUN cd /tmp && \
     curl https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz | tar -xz && \
      cd /tmp/libsodium-1.0.18 && \
      ./configure && \
      make && \
      make install && \
      rm -rf /tmp/libsodium-1.0.18
  
  RUN apt-get update && apt-get install openjdk-8-jdk -y
  ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
  RUN apt-get update && apt-get install -y maven
  
  RUN apt-get install -y zip
  
  RUN apt-get update && apt-get install -y --no-install-recommends \
          ruby \
          ruby-dev \
          rubygems \
      && gem install --no-ri --no-rdoc rake fpm \
      && rm -rf /var/lib/apt/lists/*
  
  RUN useradd -ms /bin/bash -u $uid indy
  USER indy
  
  RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.58.0
  ENV PATH /home/indy/.cargo/bin:$PATH
  
  RUN cargo install cargo-deb
  
  EXPOSE 8080
  
  WORKDIR /home/indy
  