Use prebuild docker image for backend
This commit is contained in:
parent
e0c52ad645
commit
7c366b472b
@ -1,18 +1,15 @@
|
|||||||
image: ubuntu:latest
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- package
|
- package
|
||||||
|
|
||||||
build_backend:
|
build_backend:
|
||||||
stage: build
|
stage: build
|
||||||
|
image: reg.gitlab.mattv.de/root/docker-images/ubuntu_build_base:latest
|
||||||
cache:
|
cache:
|
||||||
key: backend
|
key: backend
|
||||||
paths:
|
paths:
|
||||||
- vcpkg_cache
|
- vcpkg_cache
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
|
||||||
- apt-get install g++ gcc make cmake git curl zip unzip tar python3 pkg-config -y
|
|
||||||
- SRC="$PWD"
|
- SRC="$PWD"
|
||||||
- TMP=$(mktemp -d)
|
- TMP=$(mktemp -d)
|
||||||
- cd $TMP
|
- cd $TMP
|
||||||
@ -45,6 +42,7 @@ test_and_build_frontend:
|
|||||||
- frontend/dist/
|
- frontend/dist/
|
||||||
|
|
||||||
package_server:
|
package_server:
|
||||||
|
image: alpine:latest
|
||||||
stage: package
|
stage: package
|
||||||
before_script: []
|
before_script: []
|
||||||
needs:
|
needs:
|
||||||
|
Loading…
Reference in New Issue
Block a user