1
0
mirror of https://github.com/Jguer/yay synced 2024-07-08 20:36:24 +00:00
yay/ci.Dockerfile
J Guerreiro dc9bef0115
fix(ci): fix builds against pacman-git (#1718)
* fix(ci): fix builds against pacman-git

* fix(ci): fix builds against pacman-git

* update dockerfile

* update dockerfile

* update dockerfile

* fix(ci): fix builds against pacman-git

* fix(ci): fix builds against pacman-git

* update go-alpm

* update alpm

* return to lopsided images

* go mod tidy
2022-03-04 23:04:55 +00:00

12 lines
343 B
Docker

FROM docker.io/lopsided/archlinux:devel
ENV GO111MODULE=on
WORKDIR /app
COPY go.mod .
RUN pacman -Syu --overwrite=* --needed --noconfirm go git && \
rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* && \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.44.2 && \
go mod download