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 && \
|
2021-08-19 16:52:29 +02:00
|
|
|
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 && \
|
2021-08-19 16:52:29 +02:00
|
|
|
go mod download
|