> Am 05.12.2024 um 14:26 schrieb Norbert Hartl <[email protected]>:
> 
>> 
>> Also, anybody having a couple of minutes to test and help, if you see this 
>> issue locally, could you
>>  - build a VM (https://github.com/pharo-project/pharo-vm/), checking out tag 
>> v10.3.2
>>  - run locally the failing tests
> 
> I will take that for creating a vm build on my CI. 

a small update. I managed in 20 minutes to create a Dockerfile that seems to 
work:

---
#
# Dockerfile for building pharo-10 branch under ubuntu 22.04
#

FROM ubuntu:22.04

RUN \
  apt-get update && \
  apt-get install -y wget curl unzip inetutils-ping gnupg libcurl3-gnutls && \
  apt-get install -y \
   build-essential \
   cmake \
   git \
   python3-minimal \
   pkg-config \
   libgit2-dev \
   libssh-dev \
   libsdl2-dev \
   libfreetype-dev \
   libffi-dev && \
  rm -rf /var/lib/apt/lists/*

WORKDIR /opt

RUN mkdir -p /opt/src
WORKDIR /opt/src
RUN git clone https://github.com/pharo-project/pharo-vm.git && cd pharo-vm && 
git checkout pharo-10
RUN cmake -S pharo-vm -B pharo-vm-build
RUN cmake --build pharo-vm-build --target install
RUN rm -rf pharo-vm-build/build/dist/pharo-vm
RUN mv pharo-vm-build/build/dist /opt/pharo-vm
RUN rm -rf pharo-vm-build pharo-vm
---

Doing a 

docker build .

in that directory builds the vm and installs it under /opt/pharo-vm/pharo

In the end it copies the files to a special place. But this could also be a way 
to zip them and put them somewhere else. The most simple use would be to have a 
Dockerfile per combination OS-pharoVmVersion. Maybe this would work on github. 
If I find time I might try somethig along that line. That would make zeroconf 
survive and still we can support a bit more. Of course it duplicates some work 
on the OBS but that deals with much more to integrate in the system. For me two 
uses cases.

What I do now is that the Dockerfile above builds and installs the vm in the 
docker image. I upload these and make them the basis of my docker builds so 
this is the closest I could get and apart from obstacles that might occur it 
works.

Just in case some has interests in the Dockerfile or volunteering building a 
repo with those Dockerfiles.

Norbert


Reply via email to