drone-pre-commit/Dockerfile.personal
Ian Fijolek 904f16c777
All checks were successful
continuous-integration/drone/push Build is passing
Add golang to personal image
2021-02-02 14:49:37 -08:00

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