yay/vendor/github.com/Jguer/go-alpm/Dockerfile

15 lines
461 B
Docker
Raw Normal View History

2019-02-04 18:01:06 +01:00
FROM archlinux:latest
LABEL maintainer="Jguer,joaogg3 at google mail"
ENV GO111MODULE=on
WORKDIR /app
RUN pacman -Sy --overwrite=* --needed --noconfirm \
archlinux-keyring pacman make gcc gcc-go awk pacman-contrib && paccache -rfk0
# Dependency for linting
# RUN curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b /bin v1.20.0
# RUN go get golang.org/x/lint/golint && mv /root/go/bin/golint /bin/
COPY . .