Docker: stretch -> buster

pull/2334/head
Chocobozzz 2019-12-12 09:49:31 +01:00
parent 3c0d0c669d
commit c82bf36a3f
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
4 changed files with 7 additions and 7 deletions

View File

@ -107,25 +107,25 @@ build-nightly:
before_script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$CI_REGISTRY_AUTH\",\"email\":\"$CI_REGISTRY_EMAIL\"}}}" > /kaniko/.docker/config.json
script:
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/support/docker/production/Dockerfile.stretch --destination $DOCKER_IMAGE_NAME
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster --destination $DOCKER_IMAGE_NAME
build-docker-develop:
<<: *docker
only:
- schedules
variables:
DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-stretch
DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-buster
build-docker-tag:
<<: *docker
only:
- tags
variables:
DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-stretch
DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-buster
build-docker-master:
<<: *docker
only:
- master
variables:
DOCKER_IMAGE_NAME: chocobozzz/peertube:production-stretch
DOCKER_IMAGE_NAME: chocobozzz/peertube:production-buster

View File

@ -81,7 +81,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.stretch
$ docker build . -f ./support/docker/production/Dockerfile.buster
```
## Development

View File

@ -23,8 +23,8 @@ services:
# If you don't want to use the official image and build one from sources
# build:
# context: .
# dockerfile: ./support/docker/production/Dockerfile.stretch
image: chocobozzz/peertube:production-stretch
# dockerfile: ./support/docker/production/Dockerfile.buster
image: chocobozzz/peertube:production-buster
env_file:
- .env
# Traefik labels are suggested as an example for people using Traefik,