Ian Fijolek
e82b8757c2
All checks were successful
continuous-integration/drone/push Build is passing
14 lines
275 B
Docker
14 lines
275 B
Docker
ARG BASE_IMAGE=iamthefij/drone-pre-commit
|
|
FROM ${BASE_IMAGE}:base
|
|
|
|
# Add helper scripts
|
|
COPY ./scripts /scripts
|
|
|
|
# Add golang
|
|
RUN /scripts/add_golang.sh
|
|
ENV PATH=$PATH:/usr/local/go/bin
|
|
|
|
# Add some other linters
|
|
RUN /scripts/add_hadolint.sh
|
|
RUN /scripts/add_golangci_lint.sh
|