mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 18:46:21 +00:00
Merge pull request #2009 from profanity-im/fix/2004-Dockerfile-archlinux-image
Enable Arch CI
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
flavor: [debian, fedora, ubuntu]
|
flavor: [arch, debian, fedora, ubuntu]
|
||||||
|
|
||||||
name: Linux
|
name: Linux
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM archlinux/latest
|
FROM archlinux
|
||||||
|
|
||||||
RUN pacman -Syu --noconfirm && pacman -S --needed --noconfirm \
|
RUN pacman -Syu --noconfirm && pacman -S --needed --noconfirm \
|
||||||
autoconf \
|
autoconf \
|
||||||
@@ -18,6 +18,7 @@ RUN pacman -Syu --noconfirm && pacman -S --needed --noconfirm \
|
|||||||
libgcrypt \
|
libgcrypt \
|
||||||
libmicrohttpd \
|
libmicrohttpd \
|
||||||
libnotify \
|
libnotify \
|
||||||
|
libsignal-protocol-c \
|
||||||
libotr \
|
libotr \
|
||||||
libtool \
|
libtool \
|
||||||
libxss \
|
libxss \
|
||||||
@@ -41,18 +42,14 @@ WORKDIR /usr/src/aur
|
|||||||
# due to:
|
# due to:
|
||||||
# https://www.archlinux.org/news/now-using-zstandard-instead-of-xz-for-package-compression/
|
# https://www.archlinux.org/news/now-using-zstandard-instead-of-xz-for-package-compression/
|
||||||
RUN wget https://aur.archlinux.org/cgit/aur.git/snapshot/libstrophe-git.tar.gz
|
RUN wget https://aur.archlinux.org/cgit/aur.git/snapshot/libstrophe-git.tar.gz
|
||||||
RUN wget https://aur.archlinux.org/cgit/aur.git/snapshot/libsignal-protocol-c.tar.gz
|
|
||||||
|
|
||||||
RUN tar -zxvf libstrophe-git.tar.gz
|
RUN tar -zxvf libstrophe-git.tar.gz
|
||||||
RUN tar -zxvf libsignal-protocol-c.tar.gz
|
|
||||||
|
|
||||||
RUN pushd libstrophe-git && makepkg && popd
|
RUN pushd libstrophe-git && makepkg && popd
|
||||||
RUN pushd libsignal-protocol-c && makepkg && popd
|
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
RUN pacman -U --noconfirm libstrophe-git/libstrophe-git-*.pkg.tar.zst
|
RUN pacman -U --noconfirm libstrophe-git/libstrophe-git-*.pkg.tar.zst
|
||||||
RUN pacman -U --noconfirm libsignal-protocol-c/libsignal-protocol-c-*.pkg.tar.zst
|
|
||||||
|
|
||||||
WORKDIR /usr/src
|
WORKDIR /usr/src
|
||||||
#RUN git clone https://github.com/boothj5/stabber
|
#RUN git clone https://github.com/boothj5/stabber
|
||||||
|
|||||||
Reference in New Issue
Block a user