mirror of
https://github.com/Jguer/yay
synced 2024-11-05 16:07:15 +00:00
2ff794da32
* update go alpm * update golangci * add missing ldflag
13 lines
537 B
Docker
13 lines
537 B
Docker
FROM docker.io/ljmf00/archlinux:devel
|
|
LABEL maintainer="Jguer,docker@jguer.space"
|
|
|
|
ENV GO111MODULE=on
|
|
WORKDIR /app
|
|
|
|
COPY go.mod .
|
|
|
|
RUN pacman-key --init && pacman -Sy && pacman -S --overwrite=* --noconfirm archlinux-keyring && \
|
|
pacman -Su --overwrite=* --needed --noconfirm pacman doxygen meson asciidoc go git gcc make sudo base-devel && \
|
|
rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* && \
|
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.57.1 && \
|
|
go mod download
|