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 && \
|
2023-10-26 21:27:32 +00:00
|
|
|
/scripts/add_hadolint.sh && \
|
|
|
|
/scripts/add_golangci_lint.sh && \
|
|
|
|
/scripts/add_docker_compose.sh
|