Skip to content

Commit

Permalink
removing bicbucstriim and adding calibre web
Browse files Browse the repository at this point in the history
  • Loading branch information
bestlibre committed Feb 8, 2018
1 parent d8ada0d commit e7bad8f
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 100 deletions.
51 changes: 0 additions & 51 deletions bicbucstriim/Dockerfile

This file was deleted.

39 changes: 0 additions & 39 deletions bicbucstriim/bbs.conf

This file was deleted.

5 changes: 0 additions & 5 deletions bicbucstriim/run.sh

This file was deleted.

28 changes: 28 additions & 0 deletions calibreweb/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
ARG BUILD_FROM
FROM $BUILD_FROM

ARG BUILD_VERSION
ARG BUILD_ARCH
# Add env
ENV LANG C.UTF-8

# Setup base

RUN apk add --no-cache -U --virtual .build-deps \
git \
&& apk add -U --no-cache \
jq \
py-pip \
python \
python-dev \
&& mkdir /cw \
&& cd /cw \
&& git clone https://github.com/janeczku/calibre-web.git .\
&& pip install -r requirements.txt --target vendor

# Copy data
COPY run.sh /

RUN chmod a+x /run.sh

CMD [ "/run.sh" ]
10 changes: 5 additions & 5 deletions bicbucstriim/config.json → calibreweb/config.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "BicBucStriim",
"name": "Calibre Web",
"version": "1.4.1",
"slug": "bicbucstriim",
"description": "BicBucStriim",
"slug": "calibre-web",
"description": "Calibre web",
"url": "https://github.com/bestlibre/hassio-addons/tree/master/bicbucstriim",
"startup": "after",
"boot": "auto",
"image": "bestlibre/{arch}-bicbucstriim",
"image": "bestlibre/{arch}-calibre-web",
"options": {},
"schema": {},
"ports": {"80/tcp": null},
"ports": {"8083/tcp": null},
"map": ["share:rw"]
}
4 changes: 4 additions & 0 deletions calibreweb/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -e

python /cw/cps.py -p /data/cw.db

0 comments on commit e7bad8f

Please sign in to comment.