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: before_script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$CI_REGISTRY_AUTH\",\"email\":\"$CI_REGISTRY_EMAIL\"}}}" > /kaniko/.docker/config.json - echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$CI_REGISTRY_AUTH\",\"email\":\"$CI_REGISTRY_EMAIL\"}}}" > /kaniko/.docker/config.json
script: 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: build-docker-develop:
<<: *docker <<: *docker
only: only:
- schedules - schedules
variables: variables:
DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-stretch DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-buster
build-docker-tag: build-docker-tag:
<<: *docker <<: *docker
only: only:
- tags - tags
variables: variables:
DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-stretch DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-buster
build-docker-master: build-docker-master:
<<: *docker <<: *docker
only: only:
- master - master
variables: 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 ```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.stretch $ docker build . -f ./support/docker/production/Dockerfile.buster
``` ```
## Development ## Development

View File

@ -23,8 +23,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.stretch # dockerfile: ./support/docker/production/Dockerfile.buster
image: chocobozzz/peertube:production-stretch image: chocobozzz/peertube:production-buster
env_file: env_file:
- .env - .env
# Traefik labels are suggested as an example for people using Traefik, # Traefik labels are suggested as an example for people using Traefik,