mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
gitlab-ci: Separate build-time dependencies from the others in Dockerfile
This concept (taken from Arch PKGBUILD files) makes easier to understand and mantain our naturally enormous dependencies list.
This commit is contained in:
parent
00deb38ef8
commit
f4ba4d97d5
1 changed files with 22 additions and 19 deletions
|
@ -168,24 +168,33 @@ image-debian:
|
||||||
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
|
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
|
||||||
- echo "FROM debian:bookworm" > Dockerfile
|
- echo "FROM debian:bookworm" > Dockerfile
|
||||||
- echo "RUN apt-get update" >> Dockerfile
|
- echo "RUN apt-get update" >> Dockerfile
|
||||||
- echo "RUN apt-get install -y --no-install-recommends \\" >> Dockerfile
|
|
||||||
# 'ca-certificates' is NOT a gimp dep, it is installed only to our Docker image work
|
# 'ca-certificates' is NOT a gimp dep, it is installed only to our Docker image work
|
||||||
- echo "ca-certificates
|
- echo "RUN apt-get install -y --no-install-recommends ca-certificates" >> Dockerfile
|
||||||
|
# Build-time only dependencies
|
||||||
|
- echo "RUN apt-get install -y --no-install-recommends \\" >> Dockerfile
|
||||||
|
- echo "appstream
|
||||||
ccache
|
ccache
|
||||||
clang
|
clang
|
||||||
lld
|
|
||||||
libomp-dev
|
|
||||||
libunwind-dev
|
|
||||||
appstream
|
|
||||||
at-spi2-core
|
|
||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
ffmpeg
|
|
||||||
gettext
|
|
||||||
gi-docgen
|
gi-docgen
|
||||||
git
|
git
|
||||||
|
gobject-introspection
|
||||||
|
libgtk-3-bin
|
||||||
|
libtool
|
||||||
|
lld
|
||||||
|
meson
|
||||||
|
valac
|
||||||
|
xauth
|
||||||
|
xsltproc
|
||||||
|
xvfb
|
||||||
|
yelp-tools" >> Dockerfile
|
||||||
|
# Dependencies
|
||||||
|
- echo "RUN apt-get install -y --no-install-recommends \\" >> Dockerfile
|
||||||
|
- echo "at-spi2-core
|
||||||
|
ffmpeg
|
||||||
|
gettext
|
||||||
gjs
|
gjs
|
||||||
glib-networking
|
glib-networking
|
||||||
gobject-introspection
|
|
||||||
graphviz
|
graphviz
|
||||||
graphviz-dev
|
graphviz-dev
|
||||||
hicolor-icon-theme
|
hicolor-icon-theme
|
||||||
|
@ -198,7 +207,6 @@ image-debian:
|
||||||
libgirepository1.0-dev
|
libgirepository1.0-dev
|
||||||
libgs10
|
libgs10
|
||||||
libgs-dev
|
libgs-dev
|
||||||
libgtk-3-bin
|
|
||||||
libgtk-3-dev
|
libgtk-3-dev
|
||||||
libgudev-1.0-dev
|
libgudev-1.0-dev
|
||||||
libheif-dev
|
libheif-dev
|
||||||
|
@ -209,6 +217,7 @@ image-debian:
|
||||||
libmaxflow-dev
|
libmaxflow-dev
|
||||||
libmng-dev
|
libmng-dev
|
||||||
libmypaint-dev
|
libmypaint-dev
|
||||||
|
libomp-dev
|
||||||
libopenexr-dev
|
libopenexr-dev
|
||||||
libopenjp2-7-dev
|
libopenjp2-7-dev
|
||||||
libpoppler-glib-dev
|
libpoppler-glib-dev
|
||||||
|
@ -220,22 +229,16 @@ image-debian:
|
||||||
libsuitesparse-dev
|
libsuitesparse-dev
|
||||||
libtiff-dev
|
libtiff-dev
|
||||||
libtiff5-dev
|
libtiff5-dev
|
||||||
libtool
|
|
||||||
libumfpack5
|
libumfpack5
|
||||||
|
libunwind-dev
|
||||||
libwebp-dev
|
libwebp-dev
|
||||||
libwmf-dev
|
libwmf-dev
|
||||||
libxmu-dev
|
libxmu-dev
|
||||||
libxpm-dev
|
libxpm-dev
|
||||||
meson
|
|
||||||
mypaint-brushes
|
mypaint-brushes
|
||||||
poppler-data
|
poppler-data
|
||||||
python3
|
python3
|
||||||
python3-gi
|
python3-gi" >> Dockerfile
|
||||||
valac
|
|
||||||
xauth
|
|
||||||
xsltproc
|
|
||||||
xvfb
|
|
||||||
yelp-tools" >> Dockerfile
|
|
||||||
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:build-debian-latest-${RUNNER} --cache=true --cache-ttl=120h
|
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:build-debian-latest-${RUNNER} --cache=true --cache-ttl=120h
|
||||||
|
|
||||||
image-debian-x64:
|
image-debian-x64:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue