drone-pre-commit/Dockerfile.personal
Ian Fijolek e82b8757c2
All checks were successful
continuous-integration/drone/push Build is passing
Install golang from tar
2021-02-02 15:42:48 -08:00

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