ci.Dockerfile 418 B

1234567891011121314
  1. FROM lopsided/archlinux:latest
  2. LABEL maintainer="Jguer,joaogg3 at google mail"
  3. ENV GO111MODULE=on
  4. WORKDIR /app
  5. RUN pacman -Syu --overwrite=* --needed --noconfirm go fakeroot binutils gcc make git gettext diffutils &&\
  6. rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/*
  7. RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.39.0
  8. COPY go.mod .
  9. RUN go mod download