From aace9b3538882db7b960fffcea2ad4593d69aa09 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Wed, 23 Feb 2022 15:54:25 +0100 Subject: [PATCH] Docker image for Peertube v4.1.0. Adding bullseye image. --- docker/Dockerfile.bullseye | 3 +++ documentation/docker.md | 21 ++++++++++++++++++++- documentation/prosody.md | 5 ++++- 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 docker/Dockerfile.bullseye diff --git a/docker/Dockerfile.bullseye b/docker/Dockerfile.bullseye new file mode 100644 index 00000000..5c655aef --- /dev/null +++ b/docker/Dockerfile.bullseye @@ -0,0 +1,3 @@ +FROM chocobozzz/peertube:production-bullseye + +RUN apt -y update && apt install -y prosody && apt -y clean diff --git a/documentation/docker.md b/documentation/docker.md index a6aa0b22..15ebbe8b 100644 --- a/documentation/docker.md +++ b/documentation/docker.md @@ -7,7 +7,7 @@ Clone the git repository. Then: ```shell -sudo docker build . -f docker/Dockerfile.buster +sudo docker build . -f docker/Dockerfile.bullseye ``` ## Publish docker image @@ -22,6 +22,25 @@ Create an access token on your hub.docker.com account, then use ```shell # pull the current peertube production image: +sudo docker pull chocobozzz/peertube:production-bullseye +# build the docker image, if not done yet: +sudo docker build . -f docker/Dockerfile.bullseye +# list images to find the image id: +sudo docker images +#REPOSITORY TAG IMAGE ID CREATED SIZE +# 0209eea56505 17 seconds ago 1.19GB +#chocobozzz/peertube production-bullseye xxxxxxxxx 4 days ago 1.17GB + +# tag the image: +sudo docker tag xxxxxxxxxxxx johnxlivingston/peertubelivechat:production-bullseye +# push on the main tag name: +sudo docker push johnxlivingston/peertubelivechat:production-bullseye +# push on the current peertube tag name: +sudo docker tag johnxlivingston/peertubelivechat:production-bullseye johnxlivingston/peertubelivechat:v4.1.0-bullseye +sudo docker push johnxlivingston/peertubelivechat:v4.1.0-bullseye + + +# repeat for buster: sudo docker pull chocobozzz/peertube:production-buster # build the docker image, if not done yet: sudo docker build . -f docker/Dockerfile.buster diff --git a/documentation/prosody.md b/documentation/prosody.md index 7ba441a2..d365bbb9 100644 --- a/documentation/prosody.md +++ b/documentation/prosody.md @@ -40,11 +40,14 @@ The default local port will be 52800 and can be changed in the plugin settings. ### For Docker installations In the docker-compose.yml file, replace the peertube service image +`image: chocobozzz/peertube:production-bullseye` by `image: johnxlivingston/peertubelivechat:production-bullseye`. + +NB: if you are using debian buster (oldstable) image, replace instead `image: chocobozzz/peertube:production-buster` by `image: johnxlivingston/peertubelivechat:production-buster`. And that's it! -You can find the source for this Dockerfile [here](../docker/Dockerfile.buster). +You can find the source for this Dockerfile [here](../docker/Dockerfile.bullseye) (or for debian buster/oldstable [here](../docker/Dockerfile.buster)). ### Yunohost