Thursday, 2019-06-13

*** happyhemant has quit IRC01:28
*** KeithMnemonic has quit IRC03:08
*** e0ne has joined #openstack-loci05:21
*** spsurya has joined #openstack-loci06:08
*** e0ne has quit IRC06:24
*** dpawlik has joined #openstack-loci08:40
*** parasitid has joined #openstack-loci08:56
parasitidevrardjp: hello08:56
parasitidevrardjp: i have an issue with my own PR: https://review.opendev.org/#/c/661242/608:56
parasitidevrardjp: we can't use docker build args for passing secrets (such as a private reg key)08:57
parasitidevrardjp: because it is leaked in the image manifest08:57
parasitidevrardjp: instead, theres a brand new 'secret option' in the docker build command08:58
parasitidevrardjp: but it requires to introduce stuff such as 'RUN --mount=type=secret' in the dockerfile08:58
parasitidwhich is not retro compatible with docker < 18.0908:59
parasitidevrardjp: how could we deal with such thing ?09:01
*** e0ne has joined #openstack-loci09:26
*** spsurya has quit IRC12:18
evrardjphey12:52
evrardjpmmm12:52
evrardjpif it doesn't suit you, indeed a refactor would be required :)12:53
evrardjpcould you point me to that docs?12:54
parasitidevrardjp: sure12:58
*** pgaxatte has joined #openstack-loci13:03
parasitidevrardjp: Warning: It is not recommended to use build-time variables for passing secrets like github keys, user credentials etc. Build-time variable values are visible to any user of the image with the docker history command.13:03
parasitidhere: https://docs.docker.com/engine/reference/builder/13:04
parasitidthe correct way would be to use secrets, but it's still an exp feature in buildkit https://stackoverflow.com/questions/45405212/safe-way-to-use-build-time-argument-in-docker/51921954#5192195413:04
parasitidevrardjp: what if i add a copy of the Dockerfile with experimental features ?13:09
parasitidsuch as Dockerfile.experimental13:09
parasitid?13:09
parasitidit's kinda hard to deal with those buildkit stuff in a single dockerfile without 'templating' it or duplicating it13:10
*** dpawlik has quit IRC15:35
*** pgaxatte has quit IRC15:36
*** e0ne has quit IRC16:07
*** e0ne has joined #openstack-loci17:05
*** e0ne has quit IRC17:23
openstackgerritChris Hoge proposed openstack/loci master: Make Python3 the default interpreter  https://review.opendev.org/66518717:29
*** dpawlik has joined #openstack-loci18:54
*** e0ne has joined #openstack-loci19:25
*** e0ne has quit IRC20:04
*** dpawlik has quit IRC21:01

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!