<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 20, 2019 at 6:05 AM Pierce Ng <<a href="mailto:pierce@samadhiweb.com">pierce@samadhiweb.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br>
Hi all,<br>
<br>
I've built pharo.cog.spur.minheadless on Alpine Linux. I did it by<br>
mucking around with the files in the repo, mostly to add library files<br>
to link with, in line with Alpine's packaging conventions.<br>
<br>
I'd like to make the process reproducible. Is there any documentation on<br>
how the repo uses CMake? In particular, say, which files should I work<br>
on to produce link.txt suitable for use on Alpine?<br>
<br>
Here's my related blog post:<br>
<br>
  <a href="https://www.samadhiweb.com/blog/2019.07.20.alpine.pharo.minimal.html" rel="noreferrer" target="_blank">https://www.samadhiweb.com/blog/2019.07.20.alpine.pharo.minimal.html</a><br><br></blockquote><div><br></div>Hi Pierce,<div><br></div><div>This is very interesting. I have been playing with docker too [1] [2] [3]  and indeed I also tried to make it work with alpine [4]. But it was complicated because alpine doesn't come with `glibc` but instead `musl`. And there are differences between them. So for example for VA Smalltalk I had to install `glibc`. I succeeded but the final size of the docker image with alpine + glibc was almost the same size as the debian lite... so it didn't make much sense to me. </div><div>The support for glic is not official and as you can see I reported it [5]</div><div><br></div><div>Anyway, I will be curious to know your progress. Would cog VM work correctly with musl instead of glibc? </div><div><br></div><div>Best, </div><div><br></div><div>[1] <a href="https://dev.to/martinezpeck/getting-started-with-docker-and-smalltalk-4po1">https://dev.to/martinezpeck/getting-started-with-docker-and-smalltalk-4po1</a><br>[2] <a href="https://dev.to/martinezpeck/step-2-single-node-docker-swarm-and-smalltalk-46i0">https://dev.to/martinezpeck/step-2-single-node-docker-swarm-and-smalltalk-46i0</a><br>[3] <a href="https://dev.to/martinezpeck/docker-swarm-cloud-on-a-arm64-diy-sbc-cluster-running-a-smalltalk-webapp-9l1">https://dev.to/martinezpeck/docker-swarm-cloud-on-a-arm64-diy-sbc-cluster-running-a-smalltalk-webapp-9l1 </a><br></div><div>[4] <a href="https://github.com/vasmalltalk/docker-examples/blob/master/source/SeasideTrafficLights/Raspberry/experiments/alpine-raspbian_Dockerfile">https://github.com/vasmalltalk/docker-examples/blob/master/source/SeasideTrafficLights/Raspberry/experiments/alpine-raspbian_Dockerfile</a></div><div>[5] <a href="https://github.com/sgerrand/alpine-pkg-glibc/issues/113">https://github.com/sgerrand/alpine-pkg-glibc/issues/113</a></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font color="#666666">Mariano Martinez Peck</font></div><div><div dir="ltr"><div dir="ltr"><font color="#666666">Email: <a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a></font></div><div dir="ltr"><font color="#666666">Twitter: @MartinezPeck</font></div><div dir="ltr"><font color="#666666">LinkedIn: <a href="https://www.linkedin.com/in/mariano-mart%C3%ADnez-peck/" target="_blank">www.linkedin.com/in/mariano-martinez-peck</a></font></div><div dir="ltr"><div dir="ltr"><font color="#666666">Blog: <a href="https://marianopeck.wordpress.com/" target="_blank">https://marianopeck.wordpress.com/</a></font></div></div></div></div></div></div></div></div></div></div></div></div>