File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM ubuntu:latest
2-
3- ARG TARGETARCH
4-
5- ENV DEBIAN_FRONTEND=noninteractive
6-
7- RUN apt-get update && \
8- apt-get -y install curl flatpak flatpak-builder python3-aiohttp python3-tenacity python3-gi libostree-dev xvfb ccache zstd docker.io && \
9- apt-get -y autoremove && \
10- apt-get autoclean && \
11- rm -rf /var/lib/apt/lists/*
1+ # Base on the official Docker image for CI by Flathub to use patched version of AppStream
2+ # that propagates all custom tags in .metainfo files.
3+ # See https://github.com/flatpak/flatpak-builder/pull/735
4+ FROM ghcr.io/flathub-infra/flatpak-github-actions:gnome-50
125
136RUN flatpak remote-add --if-not-exists appcenter https://flatpak.elementary.io/repo.flatpakrepo
14-
15- RUN curl -L https://github.com/flatpak/flat-manager/releases/download/0.5.0/flat-manager-client.$TARGETARCH -o ./flat-manager-client
16-
17- RUN SHA256_EXPECTED=$( \
18- case $TARGETARCH in \
19- amd64) echo "9733a148ac185bc8d7fb0429a43f9ad7d934635760bb71933658642c697f87c9" ;; \
20- arm64) echo "fa9a916badc539ff7319895789f004dc99b81eb8e90a75857232121650335956" ;; \
21- esac \
22- ) && \
23- SHA256_CALC=$(sha256sum ./flat-manager-client | awk '{ print $1 }' ) && \
24- [ "$SHA256_CALC" = "$SHA256_EXPECTED" ]
25-
26- RUN mv ./flat-manager-client /usr/bin/flat-manager-client
27- RUN chmod +x /usr/bin/flat-manager-client
You can’t perform that action at this time.
0 commit comments