Skip to content

Commit

Permalink
ci: update image to 47 fix-branch, and install git in container
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloyoyoista committed Sep 18, 2024
1 parent f46af00 commit 279fd48
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM ghcr.io/distroless/alpine-base:latest

ENV BRANCH=profiler-private
ENV BRANCH=appstream-plugin-fixes
# distroless/alpine-base only has main by default
RUN echo "" >> /etc/apk/repositories \
&& echo https://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories
RUN apk add --no-cache meson apk-polkit-rs-dev build-base \
curl gdk-pixbuf-dev libxmlb-dev glib-dev gtk4.0-dev libadwaita-dev \
json-glib-dev libsoup3-dev gspell-dev polkit-dev libgudev-dev appstream-dev \
desktop-file-utils gsettings-desktop-schemas-dev dbus
desktop-file-utils gsettings-desktop-schemas-dev dbus git itstool
RUN curl -L -O https://gitlab.gnome.org/pabloyoyoista/gnome-software/-/archive/${BRANCH}/gnome-software-${BRANCH}.tar.gz \
&& tar xf gnome-software-${BRANCH}.tar.gz \
&& cd gnome-software-${BRANCH} \
Expand All @@ -23,6 +23,7 @@ RUN curl -L -O https://gitlab.gnome.org/pabloyoyoista/gnome-software/-/archive/$
-Dgtk_doc=false \
-Dman=false \
-Dtests=false \
-Dsysprof=disabled \
build \
&& meson install -C build
RUN apk add --no-cache py3-dbusmock
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: cogitri/gnome-software-plugin-apk-ci
VERSION: 43
VERSION: 47

jobs:
build-test-and-push-image:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
permissions:
packages: read
container:
image: ghcr.io/cogitri/gnome-software-plugin-apk-ci:43
image: ghcr.io/cogitri/gnome-software-plugin-apk-ci:47
credentials:
username: cogitri
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 279fd48

Please sign in to comment.