Minimise docker layers
This commit is contained in:
parent
3e89556ae6
commit
aedcc9d9bc
6 changed files with 61 additions and 90 deletions
|
|
@ -15,7 +15,6 @@ stages:
|
|||
- check
|
||||
- build
|
||||
|
||||
|
||||
dockerimage_builder:
|
||||
stage: prepare
|
||||
before_script:
|
||||
|
|
@ -34,7 +33,6 @@ dockerimage_builder:
|
|||
refs:
|
||||
- schedules
|
||||
|
||||
|
||||
dockerimage_security_scanner:
|
||||
stage: prepare
|
||||
before_script:
|
||||
|
|
@ -71,18 +69,18 @@ security_scanner:
|
|||
- dedicated
|
||||
|
||||
.squashfs_template: &squashfs_template
|
||||
image: $DOCKER_IMAGE_BUILDER
|
||||
stage: build
|
||||
before_script:
|
||||
- apk add --no-cache make
|
||||
services:
|
||||
- docker:dind
|
||||
- docker:dind
|
||||
script:
|
||||
- make images/debian-buster.squashfs
|
||||
- find images -type f > images.txt
|
||||
- scripts/packer.sh debian-buster
|
||||
- scripts/torrent.sh debian-buster.squashfs
|
||||
- find images -type f > images.txt
|
||||
artifacts:
|
||||
paths:
|
||||
- images
|
||||
- images.txt
|
||||
- images
|
||||
- images.txt
|
||||
tags:
|
||||
- fablab
|
||||
- ssd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue