diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile index 941d5ff..3a5500e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ MAINTAINER Paweł Jastrzębski <[email protected]> ENV KCCVER 4.6.5 ADD . /app -RUN pip3 install pillow python-slugify psutil scandir https://github.com/pyinstaller/pyinstaller/archive/develop.zip +RUN pip3 install pillow python-slugify psutil scandir pyinstaller RUN gem install fpm RUN useradd -ms /bin/bash kcc && chown -R kcc:kcc /app @@ -17,8 +17,8 @@ RUN mkdir -p dist/usr/bin dist/usr/share/applications dist/usr/share/doc/kindlec RUN mv dist/kcc dist/usr/bin RUN cp icons/comic2ebook.png dist/usr/share/kindlecomicconverter RUN cp LICENSE.txt dist/usr/share/doc/kindlecomicconverter/copyright -RUN cp other/kindlecomicconverter.desktop dist/usr/share/applications -RUN cp other/kindlecomicconverter dist/usr/share/lintian/overrides +RUN cp other/linux/kindlecomicconverter.desktop dist/usr/share/applications +RUN cp other/linux/kindlecomicconverter dist/usr/share/lintian/overrides WORKDIR /app/dist RUN fpm -f -s dir -t deb -n kindlecomicconverter -v $KCCVER -m "Paweł Jastrzębski <[email protected]>" --license "ISC" --description "Comic and Manga converter for e-book readers.\nThis app allows you to transform your PNG, JPG, GIF, CBZ, CBR and CB7 files\ninto EPUB or MOBI format e-books." --url "https://kcc.iosphe.re/" --deb-priority "optional" --vendor "" --category "graphics" -d "unrar | unrar-free" -d "p7zip-full" usr |