elementary / elementary/flatpak-platform

Make sure not to use apt in the workflows that use flatpak-platform docker images

Open
#236 1 comment 0 reactions 1 assignee Claimed by @ryonakano View on GitHub
Priority: High
Dominant language
Meson
Stars
57
Forks
11
Avg merge
4h 2m
Merged PRs (30d)
4

Description

### Problem

In #234, we rebased `ghcr.io/elementary/flatpak-platform/runtime` docker image on Flathub action image that doesn't ship with apt, so the `Install git, python3-git and jq` step:

```yml
gettext:
name: Gettext
runs-on: ubuntu-latest
container:
image: ghcr.io/elementary/flatpak-platform/runtime:8.2-x86_64
options: --privileged

steps:
- name: Install git, python3-git and jq
run: |
apt-get update # this will fail!
apt-get install git jq python3-git -y
```

will fail: https://github.com/elementary/calculator/actions/runs/24336768166/job/74193731827

```
Run apt-get update
apt-get update
apt-get install git jq python3-git -y
shell: sh -e {0}
/__w/_temp/7466f102-0a3e-4bb3-ba8c-c108f682fe6d.sh: line 1: apt-get: command not found
Error: Process completed with exit code 127.
```

### Proposal

Make sure not to use apt in the workflows that use flatpak-platform docker images.

### Prior Art (Optional)

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.