diff --git a/.drone.yml b/.drone.yml index 5d89580..d4932ca 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ] diff --git a/Dockerfile b/Dockerfile index a2510b0..38fe17b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,5 @@ -FROM google/cloud-sdk: +ARG BASE_IMAGE=google/cloud-sdk:latest +FROM $BASE_IMAGE + +RUN apk add -U --no-cache openssl -RUN apk add -U --no-cache openssl \ No newline at end of file