forked from bestlibre/hassio-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removing bicbucstriim and adding calibre web
- Loading branch information
Showing
6 changed files
with
37 additions
and
100 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |