compose icon indicating copy to clipboard operation
compose copied to clipboard

docker-compose 1.25.1 buildkit support and --ssh option

Open hecbuma opened this issue 6 years ago • 13 comments

Hi

it's great being available to use the buildkit options with the latest docker-compose version thanks for the amazing work around this.

Now, I'm trying to use --ssh which is described here https://docs.docker.com/develop/develop-images/build_enhancements/#using-ssh-to-access-private-data-in-builds I'm able to do it with docker CLI but I don't know how to pass the --ssh option while building with docker-compose

COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose build

is it possible?

hecbuma avatar Jan 23 '20 18:01 hecbuma

Duplicated of https://github.com/docker/compose/issues/7025

Maks3w avatar Jan 25 '20 12:01 Maks3w

@hecbuma @Maks3w Please implement this as soon as possible. It is a really pain to do the docker build separately with --ssh option. I have been waiting for a while now...

sajusat avatar Jan 26 '20 10:01 sajusat

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 24 '20 11:07 stale[bot]

It has been more than a year. Unfortunately at job I have used this feature to build a lot of docker images referring the ssh keys. Now I am stuck... I have to build separately and use those images with docker-compose. Whenever there is a change in the dockerfile l have to build separately. Please state clearly about the state of the this feature. Will it be implemented or not.

sajusat avatar Jul 24 '20 16:07 sajusat

This issue has been automatically marked as not stale anymore due to the recent activity.

stale[bot] avatar Jul 24 '20 16:07 stale[bot]

bump...

ArcticSnowman avatar Aug 17 '20 19:08 ArcticSnowman

anyone working on this?

thegass avatar Sep 25 '20 11:09 thegass

Any update on this ?

AdemUstaReminiz avatar Oct 15 '20 13:10 AdemUstaReminiz

I don't know why it is extremely quiet on this issue :joy:

itsjef avatar Oct 21 '20 08:10 itsjef

I'm needing this also. bump.

shawnwall avatar Oct 27 '20 17:10 shawnwall

This is a duplicate of https://github.com/docker/compose/issues/7025, focus should be directed there and this issue should be closed

ferm10n avatar Oct 28 '20 14:10 ferm10n

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 02 '21 17:06 stale[bot]

This issue has been automatically closed because it had not recent activity during the stale period.

stale[bot] avatar Jun 09 '21 22:06 stale[bot]