Skip to content

Commit

Permalink
Add a docker test for Manjaro Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Nov 24, 2024
1 parent 8ff0153 commit f064d41
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ DOCKERFILES = \
debian11 \
debian12 \
fedora40 \
fedora41
fedora41 \
manjaro

docker-%: tests/docker/Dockerfile.%
docker build -t $* -f $< .
Expand Down
27 changes: 27 additions & 0 deletions tests/docker/Dockerfile.manjaro
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM manjarolinux/base:latest

RUN pacman -Sy --noconfirm base-devel protobuf wxwidgets-gtk3

RUN useradd app
RUN mkdir -p /home/app
RUN chown app /home/app
USER app
WORKDIR /home/app

COPY --chown=app:app arch arch
COPY --chown=app:app build build
COPY --chown=app:app dep dep
COPY --chown=app:app doc doc
COPY --chown=app:app extras extras
COPY --chown=app:app lib lib
COPY --chown=app:app scripts scripts
COPY --chown=app:app src src
COPY --chown=app:app tests tests
COPY --chown=app:app tools tools
COPY --chown=app:app Makefile .
COPY --chown=app:app build.py .
COPY --chown=app:app config.py .
COPY --chown=app:app protocol.h .
COPY --chown=app:app README.md .

RUN make

0 comments on commit f064d41

Please sign in to comment.