|
@@ -1,4 +1,4 @@
|
|
-FROM docker.io/heywoodlh/archlinux:latest
|
|
|
|
|
|
+FROM docker.io/jguer/yay-builder:latest
|
|
|
|
|
|
ENV GO111MODULE=on
|
|
ENV GO111MODULE=on
|
|
WORKDIR /app
|
|
WORKDIR /app
|
|
@@ -6,7 +6,7 @@ WORKDIR /app
|
|
COPY go.mod .
|
|
COPY go.mod .
|
|
|
|
|
|
RUN pacman -Sy && pacman -S --overwrite=* --noconfirm archlinux-keyring && \
|
|
RUN pacman -Sy && pacman -S --overwrite=* --noconfirm archlinux-keyring && \
|
|
- pacman -Su --overwrite=* --needed --noconfirm go git gcc && \
|
|
|
|
|
|
+ pacman -Su --overwrite=* --needed --noconfirm go git gcc make && \
|
|
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.50.1 && \
|
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.50.1 && \
|
|
go mod download
|
|
go mod download
|