Migrate docker image to bullseye
This commit is contained in:
parent
9c7cf0072f
commit
1606ac207d
|
@ -56,8 +56,8 @@ build-docker-develop:
|
||||||
only:
|
only:
|
||||||
- schedules
|
- schedules
|
||||||
variables:
|
variables:
|
||||||
DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-buster
|
DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-bullseye
|
||||||
DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster
|
DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.bullseye
|
||||||
|
|
||||||
build-docker-webserver:
|
build-docker-webserver:
|
||||||
<<: *docker
|
<<: *docker
|
||||||
|
@ -72,13 +72,13 @@ build-docker-tag:
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
variables:
|
variables:
|
||||||
DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-buster
|
DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-bullseye
|
||||||
DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster
|
DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.bullseye
|
||||||
|
|
||||||
build-docker-master:
|
build-docker-master:
|
||||||
<<: *docker
|
<<: *docker
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
variables:
|
variables:
|
||||||
DOCKER_IMAGE_NAME: chocobozzz/peertube:production-buster
|
DOCKER_IMAGE_NAME: chocobozzz/peertube:production-bullseye
|
||||||
DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster
|
DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.bullseye
|
||||||
|
|
|
@ -147,7 +147,7 @@ $ docker-compose up -d
|
||||||
```shell
|
```shell
|
||||||
$ git clone https://github.com/chocobozzz/PeerTube /tmp/peertube
|
$ git clone https://github.com/chocobozzz/PeerTube /tmp/peertube
|
||||||
$ cd /tmp/peertube
|
$ cd /tmp/peertube
|
||||||
$ docker build . -f ./support/docker/production/Dockerfile.buster
|
$ docker build . -f ./support/docker/production/Dockerfile.bullseye
|
||||||
```
|
```
|
||||||
|
|
||||||
### Development
|
### Development
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:12-buster-slim
|
FROM node:12-bullseye-slim
|
||||||
|
|
||||||
# Allow to pass extra options to the npm run build
|
# Allow to pass extra options to the npm run build
|
||||||
# eg: --light --light-fr to not build all client languages
|
# eg: --light --light-fr to not build all client languages
|
|
@ -44,8 +44,8 @@ services:
|
||||||
# If you don't want to use the official image and build one from sources:
|
# If you don't want to use the official image and build one from sources:
|
||||||
# build:
|
# build:
|
||||||
# context: .
|
# context: .
|
||||||
# dockerfile: ./support/docker/production/Dockerfile.buster
|
# dockerfile: ./support/docker/production/Dockerfile.bullseye
|
||||||
image: chocobozzz/peertube:production-buster
|
image: chocobozzz/peertube:production-bullseye
|
||||||
# Use a static IP for this container because nginx does not handle proxy host change without reload
|
# 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
|
# This container could be restarted on crash or until the postgresql database is ready for connection
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue