Switch Debian Docker to Alpine

This commit is contained in:
Black Hat 2018-08-03 20:09:01 +00:00
parent 9adefa65b2
commit f4df072615
1 changed files with 2 additions and 6 deletions

View File

@ -4,12 +4,10 @@ stages:
- deploy - deploy
preparation-flatpak: preparation-flatpak:
image: debian:latest image: black0/alpine
stage: preparation stage: preparation
before_script: before_script:
- mkdir -p tmp - mkdir -p tmp
- apt-get update
- apt-get install -y git
script: script:
- cd tmp - cd tmp
- git clone "https://$GIT_USERNAME:$GIT_PASSWORD@gitlab.com/b0/matrique-repo" - git clone "https://$GIT_USERNAME:$GIT_PASSWORD@gitlab.com/b0/matrique-repo"
@ -46,11 +44,9 @@ build-flatpak:
deploy-flatpak: deploy-flatpak:
only: only:
- master - master
image: debian:latest image: black0/alpine
stage: deploy stage: deploy
before_script: before_script:
- apt-get update
- apt-get install -y git
- git config --global user.name "$GIT_NAME" - git config --global user.name "$GIT_NAME"
- git config --global user.email "$GIT_EMAIL" - git config --global user.email "$GIT_EMAIL"
script: script: