mirror of
https://github.com/Jguer/yay.git
synced 2024-11-07 01:27:21 +01:00
13 lines
425 B
Docker
13 lines
425 B
Docker
FROM docker.io/heywoodlh/archlinux: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 gcc && \
|
|
rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* && \
|
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.50.1 && \
|
|
go mod download
|