drone-pre-commit/Dockerfile.personal

14 lines
275 B
Docker
Raw Normal View History

2020-09-08 20:20:54 +00:00
ARG BASE_IMAGE=iamthefij/drone-pre-commit
FROM ${BASE_IMAGE}:base
# Add helper scripts
COPY ./scripts /scripts
2021-02-02 23:42:48 +00:00
# Add golang
RUN /scripts/add_golang.sh
ENV PATH=$PATH:/usr/local/go/bin
# Add some other linters
2020-09-08 20:20:54 +00:00
RUN /scripts/add_hadolint.sh
2021-02-02 21:59:15 +00:00
RUN /scripts/add_golangci_lint.sh