mirror of
https://github.com/Jguer/yay
synced 2024-09-06 08:33:20 +00:00
![Jo](/assets/img/avatar_default.png)
* fix(ci): do not attempt to install extra packages for building pacman-git * install needed in ci image * fix missing pacman key * wip * add missing deps
13 lines
488 B
Docker
13 lines
488 B
Docker
FROM docker.io/jguer/yay-builder:latest
|
|
|
|
ENV GO111MODULE=on
|
|
WORKDIR /app
|
|
|
|
COPY go.mod .
|
|
|
|
RUN pacman-key --init && pacman -Sy && pacman -S --overwrite=* --noconfirm archlinux-keyring && \
|
|
pacman -Su --overwrite=* --needed --noconfirm doxygen meson asciidoc go git gcc make sudo base-devel && \
|
|
rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* && \
|
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.50.1 && \
|
|
go mod download
|