summarylogtreecommitdiffstats
path: root/Dockerfile
blob: 2f1a826c2e3f34b2651fd2ed6bb01acb7b4e602e (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 *.patch ./

# 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 \
  micromamba \
  python \
  python-archspec \
  python-boltons \
  python-boto3 \
  python-botocore \
  python-conda-package-handling \
  python-platformdirs \
  python-pluggy>=1.0.0 \
  python-pycosat>=0.6.3 \
  python-requests>=2.20.1 \
  python-ruamel-yaml>=0.11.14 \
  python-tqdm

# Build the package
RUN makepkg -si --noconfirm