1
0
mirror of https://github.com/Jguer/yay synced 2024-07-08 20:36:24 +00:00
yay/ci.Dockerfile
jguer 418b578e9e
chore(upgrade): add pacman to install list
Revert "chore(update): fix line break"

This reverts commit a24fb50e6d.

Revert "chore(update): update golangci and force rebuild"

This reverts commit 25efafe25e.
2021-06-01 23:09:17 +02:00

15 lines
426 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 pacman fakeroot binutils gcc make git gettext diffutils && \
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.40.1
COPY go.mod .
RUN go mod download