-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to launch in azure-pipelines microsoft hosted environment with Ubuntu-22.04 #15
Comments
It works well in my local Mint Linux 21.2 environment with nerdctl and docker client ver 24.0.5. |
My guess is that Fundamentally this is the same as #7 |
/etc/passwd
/home/xclient
/etc/group
when run on my desktop containerd/nerdctl without root permission, executed environment uid/gid = 1000/1000 |
Now I hope this works PUID=`id -u`
PGID=`id -g`
IMAGE=omegatorg/innosetup:innosetup6
cat << __EOF__ | docker build -t $IMAGE - || true
FROM docker.io/amake/innosetup:innosetup6-buster
#
USER root
RUN usermod -u $PUID -o xclient && groupmod -g $PGID -o xusers
RUN chown -R $PUID:$PGID /home/xclient /work
#
USER xclient
ENV HOME /home/xclient
ENV WINEPREFIX /home/xclient/.wine
ENV WINEARCH win32
WORKDIR /work
ENTRYPOINT ["iscc"]
__EOF__
docker run -i --rm -u `id -u`:`id -g` -v "$PWD":/work $IMAGE $ISS testWhen running docker with
This is an evidence |
When launching
amke/innosetup:64bit-buster
on azure-pipelines with a command line likeIt always failed with
The text was updated successfully, but these errors were encountered: