mirror of
https://github.com/Jguer/yay
synced 2024-10-05 23:59:13 +00:00
ci(dockerfile): reduce image size and update readme
This commit is contained in:
parent
d6aa288ab8
commit
1f3020e7d6
|
@ -44,6 +44,7 @@ building with makepkg:
|
|||
Before you begin, make sure you have the `base-devel` package group installed.
|
||||
|
||||
```sh
|
||||
pacman -S --needed git base-devel
|
||||
git clone https://aur.archlinux.org/yay.git
|
||||
cd yay
|
||||
makepkg -si
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
FROM lopsided/archlinux:devel
|
||||
FROM lopsided/archlinux:latest
|
||||
LABEL maintainer="Jguer,joaogg3 at google mail"
|
||||
|
||||
ENV GO111MODULE=on
|
||||
WORKDIR /app
|
||||
|
||||
RUN pacman -Syu --overwrite=* --needed --noconfirm go git
|
||||
RUN pacman -Syu --overwrite=* --needed --noconfirm go fakeroot binutils gcc make git
|
||||
|
||||
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.30.0
|
||||
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.31.0
|
||||
|
||||
COPY go.mod .
|
||||
|
||||
|
|
Loading…
Reference in a new issue