Ian Fijolek
904f16c777
All checks were successful
continuous-integration/drone/push Build is passing
15 lines
354 B
Docker
15 lines
354 B
Docker
ARG BASE_IMAGE=iamthefij/drone-pre-commit
|
|
FROM ${BASE_IMAGE}:base
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends golang=2:1.11~1 && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
# Add helper scripts
|
|
COPY ./scripts /scripts
|
|
|
|
# Bundle hadolint
|
|
RUN /scripts/add_hadolint.sh
|
|
RUN /scripts/add_golangci_lint.sh
|