blob: 467c0c7b374969850bb155266d2558f6561b55ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
FROM brianrobt/archlinux-aur-dev:latest
# Copy local AUR package files to the container
COPY --chown=builder:builder .SRCINFO PKGBUILD 001-fix-shared-lib-install.diff ./
# Update the system to resolve 404 errors for micromamba dependencies, libsolv and nss
USER root
RUN pacman -Syu --noconfirm
# Install build dependencies. Example for python-conda:
USER builder
RUN yay -S --noconfirm \
vulkan-icd-loader \
vulkan-validation-layers \
gcc-libs \
glibc \
cmake \
git \
vulkan-headers \
shaderc
RUN makepkg -sif --noconfirm
RUN makepkg --printsrcinfo > .SRCINFO
# Copy the updated .SRCINFO and PKGBUILD files back to the host
# This requires the container to be run with a volume mount
# Example: docker run -v $(pwd):/workspace -w /workspace <image>
COPY .SRCINFO PKGBUILD /workspace/
|