refactored base image selection
This commit is contained in:
parent
612cf9ff8f
commit
a9a4291fcb
@ -8,6 +8,8 @@ pipeline:
|
|||||||
docker:
|
docker:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: bunix42/google-cloud-sdk
|
repo: bunix42/google-cloud-sdk
|
||||||
|
build_args:
|
||||||
|
- BASE_IMAGE=google/cloud-sdk:${VERSION}
|
||||||
tags:
|
tags:
|
||||||
- ${VERSION}
|
- ${VERSION}
|
||||||
secrets: [ docker_username, docker_password ]
|
secrets: [ docker_username, docker_password ]
|
||||||
|
@ -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
|
|
Reference in New Issue
Block a user