image improvements + documentation update
Some checks failed
Build docker container / build (push) Has been cancelled
Some checks failed
Build docker container / build (push) Has been cancelled
This commit is contained in:
parent
a7e52a2952
commit
57501829c1
14
Dockerfile
14
Dockerfile
@ -16,15 +16,12 @@ COPY channels.xml /config/channels.xml
|
||||
ADD $FIXES_FOLDER /fixes
|
||||
RUN apk update \
|
||||
&& apk upgrade --available \
|
||||
&& apk add curl \
|
||||
&& apk add git \
|
||||
&& apk add tzdata \
|
||||
&& apk add bash \
|
||||
&& apk add curl git tzdata bash \
|
||||
&& npm install -g npm@latest \
|
||||
&& npm install pm2 -g \
|
||||
&& mkdir $(echo "${BIN_FOLDER}/${EPG_FOLDER}") -p \
|
||||
&& git -C $(echo "${BIN_FOLDER}") clone --depth 1 -b $(echo "${GIT_BRANCH} ${GIT_REPO}") \
|
||||
&& cd $WORKDIR cat && npm install && npm update \
|
||||
&& cd $WORKDIR && npm install && npm update \
|
||||
&& rm .eslintrc.json \
|
||||
&& rm -rf .github \
|
||||
&& rm -rf .git \
|
||||
@ -37,6 +34,13 @@ RUN apk update \
|
||||
&& rm sites/**/readme.md \
|
||||
&& rm -rf sites/**/__data__ \
|
||||
&& rm sites/**/**.test.js \
|
||||
&& rm -rf node_modules/**/.package-lock.json \
|
||||
&& rm -rf node_modules/**/.tsconfig.json \
|
||||
&& rm -rf node_modules/**/.tsconfig.tsbuildinfo.json \
|
||||
&& rm -rf node_modules/**/.github \
|
||||
&& rm -rf node_modules/**/docs \
|
||||
&& rm -rf node_modules/**/LICENSE \
|
||||
&& rm -rf node_modules/**/**.md \
|
||||
&& ln -s /config/channels.xml $(echo "${WORKDIR}/channels.xml") \
|
||||
&& mkdir /public
|
||||
COPY start.sh $WORKDIR
|
||||
|
10
README.md
10
README.md
@ -69,6 +69,12 @@ services:
|
||||
|
||||
### Versions
|
||||
|
||||
This image is bound to the content of the [iptv-org/epg](https://github.com/iptv-org/epg) repository. In the underlying list you can see to which commit each version of the docker image is bound.
|
||||
|
||||
Normally when a change is made in the source repository the documention is updated and a new tag is created in this repository. This is completely normal since the source repository is only cloned during the build process of the docker image.
|
||||
|
||||
Sometimes a new version of this image will be bound to the same source commit. This will happen when improvements are made to the image.
|
||||
|
||||
- 1.0.0
|
||||
[08-01-2024](https://github.com/iptv-org/epg/commit/793c74ca397504fc2afc8fbfa998e0b8e4ca45d9)
|
||||
- 1.0.1
|
||||
@ -82,4 +88,6 @@ services:
|
||||
- 1.0.5
|
||||
[10-02-2024](https://github.com/iptv-org/epg/commit/713dbf60a1cb9623ffcab6ab370ee9a78b32102b)
|
||||
- 1.0.6
|
||||
[10-02-2024](https://github.com/iptv-org/epg/commit/713dbf60a1cb9623ffcab6ab370ee9a78b32102b)<br>Adds possibility to enable custom fixes
|
||||
[10-02-2024](https://github.com/iptv-org/epg/commit/713dbf60a1cb9623ffcab6ab370ee9a78b32102b)<br>Adds possibility to enable custom fixes
|
||||
- 1.0.7
|
||||
[10-02-2024](https://github.com/iptv-org/epg/commit/713dbf60a1cb9623ffcab6ab370ee9a78b32102b)<br>Adds improvement to the docker image size
|
Loading…
x
Reference in New Issue
Block a user