2016-09-02 03:34:00 +12:00
|
|
|
FROM kaixhin/cuda-torch
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends --force-yes \
|
|
|
|
libsnappy-dev \
|
|
|
|
graphicsmagick \
|
|
|
|
libgraphicsmagick1-dev \
|
|
|
|
libssl-dev \
|
|
|
|
ca-certificates \
|
|
|
|
git && \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
RUN \
|
|
|
|
luarocks install graphicsmagick && \
|
|
|
|
luarocks install lua-csnappy && \
|
|
|
|
luarocks install md5 && \
|
|
|
|
luarocks install uuid && \
|
|
|
|
luarocks install csvigo && \
|
|
|
|
PREFIX=$HOME/torch/install luarocks install turbo && \
|
|
|
|
luarocks install cudnn
|
|
|
|
|
2016-09-02 06:58:10 +12:00
|
|
|
# suppress message `tput: No value for $TERM and no -T specified`
|
|
|
|
ENV TERM xterm
|
|
|
|
|
2016-09-02 03:34:00 +12:00
|
|
|
COPY . /root/waifu2x
|
|
|
|
|
|
|
|
WORKDIR /root/waifu2x
|