Use prebuild docker image for backend

This commit is contained in:
Mutzi 2022-09-04 11:29:49 +02:00
parent e0c52ad645
commit 7c366b472b

View File

@ -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: