2020-09-29 09:38:56 +02:00
|
|
|
FROM lopsided/archlinux:latest
|
2020-09-08 00:02:28 +02:00
|
|
|
LABEL maintainer="Jguer,joaogg3 at google mail"
|
|
|
|
|
|
|
|
ENV GO111MODULE=on
|
|
|
|
WORKDIR /app
|
|
|
|
|
2020-11-17 16:21:44 +01:00
|
|
|
RUN pacman -Syu --overwrite=* --needed --noconfirm go fakeroot binutils gcc make git gettext &&\
|
2020-09-29 09:43:20 +02:00
|
|
|
rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/*
|
2020-09-08 00:02:28 +02:00
|
|
|
|
2021-03-13 12:15:26 +01:00
|
|
|
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.38.0
|
2020-09-08 00:02:28 +02:00
|
|
|
|
|
|
|
COPY go.mod .
|
|
|
|
|
|
|
|
RUN go mod download
|