mirror of
https://github.com/Jguer/yay.git
synced 2025-12-27 10:01:53 -05:00
* fix: correct Docker manifest creation in builder image workflow - Fix "invalid reference format" error by properly separating Docker Hub and GitHub Container Registry tags - Use short SHA format instead of long format for more manageable tags - Improve manifest list creation process to handle multiple registries correctly - Ensure proper handling of ghcr.io prefix for GitHub Container Registry * update golangci and comment out community
16 lines
599 B
Docker
16 lines
599 B
Docker
FROM docker.io/ljmf00/archlinux:devel
|
|
LABEL maintainer="Jguer,docker@jguer.space"
|
|
|
|
ENV GO111MODULE=on
|
|
WORKDIR /app
|
|
|
|
RUN sed -i '/^\[community\]/,/^\[/ s/^/#/' /etc/pacman.conf
|
|
|
|
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.64.6 && \
|
|
go mod download
|