1
0
Fork 0
mirror of synced 2024-05-01 19:42:23 +12:00
waifu2x/Dockerfile

26 lines
627 B
Docker
Raw Permalink Normal View History

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 && \
PREFIX=$HOME/torch/install luarocks install turbo
2016-09-02 03:34:00 +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