yay/ci.Dockerfile
2022-08-05 23:05:20 +02:00

12 lines
413 B
Docker

FROM docker.io/jguer/yay-builder:latest
ENV GO111MODULE=on
WORKDIR /app
COPY go.mod .
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/* && \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.48.0 && \
go mod download