Migrate docker image to bullseye

pull/4548/head
Chocobozzz 2021-11-16 17:03:44 +01:00
parent 9c7cf0072f
commit 1606ac207d
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
4 changed files with 10 additions and 10 deletions

View File

@ -56,8 +56,8 @@ build-docker-develop:
only:
- schedules
variables:
DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-buster
DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster
DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-bullseye
DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.bullseye
build-docker-webserver:
<<: *docker
@ -72,13 +72,13 @@ build-docker-tag:
only:
- tags
variables:
DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-buster
DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster
DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-bullseye
DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.bullseye
build-docker-master:
<<: *docker
only:
- master
variables:
DOCKER_IMAGE_NAME: chocobozzz/peertube:production-buster
DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster
DOCKER_IMAGE_NAME: chocobozzz/peertube:production-bullseye
DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.bullseye

View File

@ -147,7 +147,7 @@ $ docker-compose up -d
```shell
$ git clone https://github.com/chocobozzz/PeerTube /tmp/peertube
$ cd /tmp/peertube
$ docker build . -f ./support/docker/production/Dockerfile.buster
$ docker build . -f ./support/docker/production/Dockerfile.bullseye
```
### Development

View File

@ -1,4 +1,4 @@
FROM node:12-buster-slim
FROM node:12-bullseye-slim
# Allow to pass extra options to the npm run build
# eg: --light --light-fr to not build all client languages

View File

@ -44,8 +44,8 @@ services:
# If you don't want to use the official image and build one from sources:
# build:
# context: .
# dockerfile: ./support/docker/production/Dockerfile.buster
image: chocobozzz/peertube:production-buster
# dockerfile: ./support/docker/production/Dockerfile.bullseye
image: chocobozzz/peertube:production-bullseye
# Use a static IP for this container because nginx does not handle proxy host change without reload
# This container could be restarted on crash or until the postgresql database is ready for connection
networks: