ci(dockerfile): reduce image size and update readme

This commit is contained in:
jguer 2020-09-29 09:38:56 +02:00
parent d6aa288ab8
commit 1f3020e7d6
No known key found for this signature in database
GPG key ID: 6D6CC9BEA8556B35
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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 .