Docker image for Peertube v4.1.0. Adding bullseye image.

This commit is contained in:
John Livingston 2022-02-23 15:54:25 +01:00
parent 004aaa3ce1
commit aace9b3538
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
3 changed files with 27 additions and 2 deletions

View File

@ -0,0 +1,3 @@
FROM chocobozzz/peertube:production-bullseye
RUN apt -y update && apt install -y prosody && apt -y clean

View File

@ -7,7 +7,7 @@ Clone the git repository.
Then: Then:
```shell ```shell
sudo docker build . -f docker/Dockerfile.buster sudo docker build . -f docker/Dockerfile.bullseye
``` ```
## Publish docker image ## Publish docker image
@ -22,6 +22,25 @@ Create an access token on your hub.docker.com account, then use
```shell ```shell
# pull the current peertube production image: # 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
#<none> <none> 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 sudo docker pull chocobozzz/peertube:production-buster
# build the docker image, if not done yet: # build the docker image, if not done yet:
sudo docker build . -f docker/Dockerfile.buster sudo docker build . -f docker/Dockerfile.buster

View File

@ -40,11 +40,14 @@ The default local port will be 52800 and can be changed in the plugin settings.
### For Docker installations ### For Docker installations
In the docker-compose.yml file, replace the peertube service image 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`. `image: chocobozzz/peertube:production-buster` by `image: johnxlivingston/peertubelivechat:production-buster`.
And that's it! 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 ### Yunohost