mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-22 21:16:02 +00:00
add python3-requests to docker image
This commit is contained in:
parent
ef152324c4
commit
587a4a341c
1
.github/workflows/ci-main.yml
vendored
1
.github/workflows/ci-main.yml
vendored
@ -222,7 +222,6 @@ jobs:
|
||||
branch=ci-$(git log -n 1 --format=%h)
|
||||
version=$(sed -n 's/#define VERSION "\(.*\)"/\1/p' src/wesconfig.h)
|
||||
date=$(TZ=UTC0 git log -1 --date=iso-local --format=%cd)
|
||||
apt install -y python3-requests
|
||||
cp packaging/org.wesnoth.Wesnoth.appdata.xml .
|
||||
# add release info so the flatpak shows the version
|
||||
utils/update_appdata "$version" org.wesnoth.Wesnoth.appdata.xml "$date"
|
||||
|
@ -2,7 +2,10 @@ FROM wesnoth/wesnoth:2404-master
|
||||
|
||||
RUN apt update
|
||||
# install flatpak
|
||||
RUN apt install -y flatpak flatpak-builder jq
|
||||
RUN apt install -y -qq flatpak
|
||||
RUN apt install -y -qq flatpak-builder
|
||||
# other misc things
|
||||
RUN apt install -y -qq jq python3-requests
|
||||
RUN flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
# install runtime
|
||||
RUN flatpak install -y flathub org.freedesktop.Platform/x86_64/22.08 org.freedesktop.Sdk/x86_64/22.08 org.freedesktop.Platform/x86_64/23.08 org.freedesktop.Sdk/x86_64/23.08
|
||||
|
Loading…
x
Reference in New Issue
Block a user