1
0
Fork 0
mirror of synced 2024-05-14 09:52:18 +12:00
waifu2x/Dockerfile
2016-09-02 19:59:07 +09:00

27 lines
623 B
Docker

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
# suppress message `tput: No value for $TERM and no -T specified`
ENV TERM xterm
COPY . /root/waifu2x
WORKDIR /root/waifu2x