1
0
mirror of https://github.com/Jguer/yay synced 2024-07-05 09:50:44 +00:00
yay/ci.Dockerfile
2021-08-21 15:16:28 +02:00

12 lines
369 B
Docker

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