Dockerfile 627 B

12345678910111213141516171819202122232425
  1. FROM nagadomi/torch7:cuda10.1-cudnn7-devel-ubuntu18.04
  2. RUN apt-get update && apt-get install -y --no-install-recommends --force-yes \
  3. libsnappy-dev \
  4. graphicsmagick \
  5. libgraphicsmagick1-dev \
  6. libssl1.0-dev \
  7. ca-certificates \
  8. git && \
  9. rm -rf /var/lib/apt/lists/*
  10. RUN \
  11. luarocks install graphicsmagick && \
  12. luarocks install lua-csnappy && \
  13. luarocks install md5 && \
  14. luarocks install uuid && \
  15. luarocks install csvigo && \
  16. PREFIX=$HOME/torch/install luarocks install turbo
  17. # suppress message `tput: No value for $TERM and no -T specified`
  18. ENV TERM xterm
  19. COPY . /root/waifu2x
  20. WORKDIR /root/waifu2x