1
0

refactored base image selection

This commit is contained in:
Hanjo Meinhardt 2018-08-24 14:09:28 +02:00
parent 612cf9ff8f
commit a9a4291fcb
2 changed files with 6 additions and 2 deletions

View File

@ -8,6 +8,8 @@ pipeline:
docker:
image: plugins/docker
repo: bunix42/google-cloud-sdk
build_args:
- BASE_IMAGE=google/cloud-sdk:${VERSION}
tags:
- ${VERSION}
secrets: [ docker_username, docker_password ]

View File

@ -1,3 +1,5 @@
FROM google/cloud-sdk:<VERSION>
ARG BASE_IMAGE=google/cloud-sdk:latest
FROM $BASE_IMAGE
RUN apk add -U --no-cache openssl
RUN apk add -U --no-cache openssl