2019-03-16 21:28:52 +13:00
|
|
|
FROM nagadomi/torch7:cuda10.1-cudnn7-devel-ubuntu18.04
|
2016-09-02 03:34:00 +12:00
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends --force-yes \
|
|
|
|
libsnappy-dev \
|
|
|
|
graphicsmagick \
|
|
|
|
libgraphicsmagick1-dev \
|
2019-03-16 21:28:52 +13:00
|
|
|
libssl1.0-dev \
|
2016-09-02 03:34:00 +12:00
|
|
|
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 && \
|
2017-02-07 19:46:26 +13:00
|
|
|
PREFIX=$HOME/torch/install luarocks install turbo
|
2016-09-02 03:34:00 +12:00
|
|
|
|
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
|