Skip to content

GCR image missing shell in v1.16 #317

@istarkov

Description

@istarkov

Seems like ash has gone from the latest container version

We used it at cloudbuild as like

  - id: 'db-proxy'
    name: eu.gcr.io/cloudsql-docker/gce-proxy
    waitFor: ['extract-api-build']
    entrypoint: ash
    args:
      - '-c'
      - |
        /cloud_sql_proxy -dir=/cloudsql -instances=$(cat ./_CLOUD_SQL_INSTANCE_) & \
        while [ ! -f /cloudsql/stop ]; do
          sleep 2;
        done
        kill $!
    volumes:
      - name: db
        path: /cloudsql

For the trick which allowed us to not close connection until touch /cloudsql/stop command from other step.

Now no ash or bash in container and it become impossible to use it in cloudbuild in a simple manner

Metadata

Metadata

Assignees

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions