diff --git a/Dockerfile.personal b/Dockerfile.personal index b702eaa..5a9bc08 100644 --- a/Dockerfile.personal +++ b/Dockerfile.personal @@ -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 diff --git a/Makefile b/Makefile index bcd2094..a043964 100644 --- a/Makefile +++ b/Makefile @@ -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: