drone-pre-commit/Dockerfile.personal

13 lines
347 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
ENV PATH=$PATH:/usr/local/go/bin
2022-04-07 20:15:22 +00:00
RUN /scripts/add_golang.sh && \
2024-01-04 05:36:18 +00:00
go install golang.org/x/tools/cmd/goimports@v0.16.1 && \
/scripts/add_hadolint.sh && \
/scripts/add_golangci_lint.sh && \
/scripts/add_docker_compose.sh