mirror of
https://github.com/Jguer/yay
synced 2024-08-31 21:58:39 +00:00
15 lines
408 B
Docker
15 lines
408 B
Docker
FROM lopsided/archlinux:latest
|
|
LABEL maintainer="Jguer,joaogg3 at google mail"
|
|
|
|
ENV GO111MODULE=on
|
|
WORKDIR /app
|
|
|
|
RUN pacman -Syu --overwrite=* --needed --noconfirm go fakeroot binutils gcc make git gettext &&\
|
|
rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/*
|
|
|
|
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.38.0
|
|
|
|
COPY go.mod .
|
|
|
|
RUN go mod download
|