Add golang to personal image
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9b7047913a
commit
904f16c777
@ -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
|
||||
|
||||
|
6
Makefile
6
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:
|
||||
|
Loading…
Reference in New Issue
Block a user