Commit 6e23f053 authored by Tomáš Pecka's avatar Tomáš Pecka

[osc][archlinux-makepkg]: Remove uneeded images

parent d47731d1
Pipeline #45584 canceled with stage
in 18 seconds
FROM archlinux/base
RUN pacman -Sy --needed --noconfirm sudo namcap && \
useradd builder -m && passwd -d builder && printf 'builder ALL=(ALL) ALL\n' | tee -a /etc/sudoers && \
sudo -u builder -- mkdir -p ~builder/.gnupg && \
sudo -u builder -- cat > ~builder/.gnupg/gpg-agent.conf <<< $'allow-preset-passphrase\nmax-cache-ttl 60480000\ndefault-cache-ttl 60480000' && \
cat >> /etc/makepkg.conf <<< $'MAKEFLAGS="-j3"\nPACKAGER="Tomáš Pecka <>"'
- `sudo -u builder -- makepkg --syncdeps --noconfirm`
- optionally set `PKGDEST` variable to package output dir
If building on Gitlab CI, chown sources to builder
- `chown builder:builder . -R`
FROM alpine:3.9
RUN apk add \
python python-dev py2-pip swig \
g++ curl curl-dev bash tar git
RUN pip install wheel six
RUN pip install build-service-osc pycurl
RUN ln -s /usr/bin/ /usr/bin/osc
RUN apk del g++ curl-dev swig python-dev
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment