summarylogtreecommitdiffstats
path: root/Dockerfile
blob: f65d2c1ae9554f845eecfd27798727097ac888d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM brianrobt/archlinux-aur-dev:v1.2.0

# Copy local AUR package files to the container
COPY --chown=builder:builder .SRCINFO PKGBUILD ./

USER root
RUN pacman -Syu --noconfirm

# Install build dependencies
USER builder
RUN yay -S --noconfirm \
    cmake \
    ninja \
    openal \
    sdl2 \
    openjpeg2 \
    libmad \
    hicolor-icon-theme

# Build the package
RUN updpkgsums
RUN makepkg -sif --noconfirm
RUN makepkg --printsrcinfo > .SRCINFO