Add golang to personal image
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
IamTheFij 2021-02-02 14:49:37 -08:00
parent 9b7047913a
commit 904f16c777
2 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,11 @@
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

View File

@ -16,7 +16,11 @@ build: ./Dockerfile
.PHONY: build-personal
build-personal: build ./Dockerfile.personal
docker build --build-arg "BASE_IMAGE=$(DOCKER_TAG)" -f ./Dockerfile.personal .
docker build \
--build-arg "BASE_IMAGE=$(DOCKER_TAG)" \
-f ./Dockerfile.personal \
-t "$(DOCKER_TAG):personal" \
.
.PHONY: install-hooks
install-hooks: