Date: Wed, 10 Jan 2024 11:27:09 +0100 From: Alejandro Imass <aimass@yabarana.com> To: freebsd-virtualization@freebsd.org Subject: Dockerfile to Bastille interpreter/translator Message-ID: <CAHieY7S0XPZhwwaGG0a-qRbJO9gMM1uEa-ZYUr1dZyjYE8k6wA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--00000000000044ac47060e94e05e Content-Type: text/plain; charset="UTF-8" I understand there's an ongoing effort to support Linux Docker images "natively" through amd64 translation layer to the FBSD kernel. I think that is a great endeavour but it got me thinking that perhaps there's an alternative way to leverage the full power of FBSD and Bastille. If you look at Dockerfile, they mostly follow the same pattern: 1 - package manager installs 2 - system commands 3 - package, inheritance 4 - repeat 5 - launch entrypoint The package manager AFAICT are only 3: alpine, debian, red hat The commands are almost translatable 1:1 to Bastille So my question is, has anybody thought or have started work on an Dockerfile interpreter that can build native Bastille/ZFS "images" from a Dockerfile ? I think most of the work would be creating and maintaining the package names and their equivs which for the most part will be very similar to FBSD ports. Any thoughts? Best, -- Alex --00000000000044ac47060e94e05e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I understand there's an ongoing effort to support Linu= x Docker images "natively" through amd64 translation layer to the= =C2=A0FBSD kernel. I think that is a great endeavour but it got me thinking= that perhaps there's an alternative way to leverage the full power of = FBSD and Bastille.=C2=A0<div><br></div><div>If you look at Dockerfile, they= mostly follow the same pattern:=C2=A0</div><div>1 - package manager instal= ls</div><div>2 - system commands</div><div>3 - package, inheritance</div><d= iv>4 - repeat</div><div>5 - launch entrypoint</div><div><br></div><div>The = package manager AFAICT are only 3: alpine, debian, red hat</div><div>The co= mmands are almost translatable 1:1 to Bastille</div><div><br></div><div>So = my question is, has anybody thought or have started work on an Dockerfile i= nterpreter that can build native Bastille/ZFS "images" from a Doc= kerfile ?=C2=A0</div><div><br></div><div>I think most of the work would be = creating and maintaining the package names and their equivs which for the m= ost part will be very similar to FBSD ports.</div><div><br></div><div>Any t= houghts?</div><div><br></div><div>Best,</div><div><br></div><div>--=C2=A0</= div><div>Alex</div><div><br></div><div><br></div><div><br></div><div><br></= div><div><br></div></div> --00000000000044ac47060e94e05e--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHieY7S0XPZhwwaGG0a-qRbJO9gMM1uEa-ZYUr1dZyjYE8k6wA>