ci.Dockerfile 369 B

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