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 && \
|
|
|
|
/scripts/add_hadolint.sh && \
|
|
|
|
/scripts/add_golangci_lint.sh
|