yay/ci.Dockerfile

12 lines
413 B
Docker
Raw Normal View History

2022-08-05 21:05:20 +00:00
FROM docker.io/jguer/yay-builder:latest
2020-09-07 22:02:28 +00:00
ENV GO111MODULE=on
WORKDIR /app
COPY go.mod .
2022-08-05 21:05:20 +00:00
RUN pacman -Sy && pacman -S --overwrite=* --noconfirm archlinux-keyring && pacman -Su --overwrite=* --needed --noconfirm go git && \
rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* && \
2022-08-05 21:05:20 +00:00
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.48.0 && \
go mod download