2020-09-08 13:20:54 -07:00
|
|
|
ARG BASE_IMAGE=iamthefij/drone-pre-commit
|
|
|
|
FROM ${BASE_IMAGE}:base
|
|
|
|
|
|
|
|
# Add helper scripts
|
|
|
|
COPY ./scripts /scripts
|
|
|
|
|
2021-02-02 15:42:48 -08:00
|
|
|
ENV PATH=$PATH:/usr/local/go/bin
|
2022-04-07 13:15:22 -07:00
|
|
|
RUN /scripts/add_golang.sh && \
|
|
|
|
/scripts/add_hadolint.sh && \
|
|
|
|
/scripts/add_golangci_lint.sh
|