From cbb8908ad399bf5dd76ccf0fb3ce90efb3a3fc47 Mon Sep 17 00:00:00 2001 From: Daniel de Leng <daniel.de.leng@liu.se> Date: Mon, 1 Jul 2024 17:33:05 +0200 Subject: [PATCH] Fix CI/CD pipeline with local Docker image --- .gitlab-ci.yml | 5 ++--- Dockerfile | 8 ++++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 05e284a35..21e212234 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,6 @@ variables: GIT_SUBMODULE_STRATEGY: recursive pages: - #image: davidbergstrom/pycommandcenterenv image: gitlab.liu.se:5000/starcraft-ai-course/pycommandcenter stage: deploy script: @@ -19,5 +18,5 @@ pages: artifacts: paths: - public - # only: -# - master + only: + - master diff --git a/Dockerfile b/Dockerfile index f2f14348e..dd5cba9b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ -FROM ubuntu:22.04 +# Sets up a Ubuntu 24.04 LTS environment with Python 3.12 suitable for building PyCommandCenter and its documentation -ENV HOME=/root +FROM ubuntu:24.04 +LABEL org.opencontainers.image.authors="daniel.de.leng@liu.se" + +RUN apt update && apt install -y build-essential cmake python3-full python3-pybind11 python3-pip python3-sphinx python3-sphinx-design +ENV HOME=/root WORKDIR /root -- GitLab