2020-09-29 07:38:56 +00:00
|
|
|
FROM lopsided/archlinux:latest
|
2020-09-07 22:02:28 +00:00
|
|
|
LABEL maintainer="Jguer,joaogg3 at google mail"
|
|
|
|
|
|
|
|
ENV GO111MODULE=on
|
|
|
|
WORKDIR /app
|
|
|
|
|
2021-06-01 19:29:47 +00:00
|
|
|
RUN pacman -Syu --overwrite=* --needed --noconfirm go pacman fakeroot binutils gcc make git gettext diffutils && \
|
|
|
|
rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/*
|
2020-09-07 22:02:28 +00:00
|
|
|
|
2021-06-01 06:34:16 +00:00
|
|
|
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.40.1
|
2020-09-07 22:02:28 +00:00
|
|
|
|
|
|
|
COPY go.mod .
|
|
|
|
|
|
|
|
RUN go mod download
|