mirror of
https://github.com/Jguer/yay
synced 2024-10-15 12:32:18 +00:00
Remake ci.Dockerfile
This commit is contained in:
parent
1a52da5891
commit
c0a9b6af4f
|
@ -1,11 +1,11 @@
|
||||||
FROM docker.io/lopsided/archlinux:devel
|
FROM docker.io/jguer/yay-builder:latest
|
||||||
|
|
||||||
ENV GO111MODULE=on
|
ENV GO111MODULE=on
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY go.mod .
|
COPY go.mod .
|
||||||
|
|
||||||
RUN pacman -Syu --overwrite=* --needed --noconfirm go git && \
|
RUN pacman -Sy && pacman -S --overwrite=* --noconfirm archlinux-keyring && pacman -Su --overwrite=* --needed --noconfirm go git && \
|
||||||
rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* && \
|
rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* && \
|
||||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.44.2 && \
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.48.0 && \
|
||||||
go mod download
|
go mod download
|
||||||
|
|
Loading…
Reference in a new issue