yay/ci.Dockerfile

12 lines
413 B
Docker
Raw Normal View History

2022-08-05 23:05:20 +02:00
FROM docker.io/jguer/yay-builder:latest
2020-09-08 00:02:28 +02:00
ENV GO111MODULE=on
WORKDIR /app
COPY go.mod .
2022-08-05 23:05:20 +02: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 23:05:20 +02:00
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.48.0 && \
go mod download